1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2015 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
13 std::string dump( const TTCN_Buffer& buf );
15 template < typename T >
16 std::string dump( const T& t, const TTCN_Typedescriptor_t ty )
19 t.encode( ty, ttcnbuf, TTCN_EncDec::CT_BER, BER_ENCODE_DER );
20 return dump( ttcnbuf );