First public contribution.
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // File contains local functions for use by the Escaping utility functions
15 // defined in EscapeUtils.h.
20 @file EscapeUtilsInternal.h
24 #ifndef __ESCAPEUTILSINTERNAL_H__
25 #define __ESCAPEUTILSINTERNAL_H__
31 template<class TDesCType, class TPtrType>
32 TInt EscapeEncodeData(const TDesCType& aData, const TDesCType& aReservedChars, TPtrType& aEncodedData);
34 template<class TDesCType, class TPtrType>
35 TInt EscapeDecodeData(const TDesCType& aData, TPtrType& aDecodedData);
37 template<class TDesCType>
38 TBool CheckAndConvertEscapeTriple(const TDesCType& aData, TInt& aHexValue);
40 #endif // __ESCAPEUTILSINTERNAL_H__