Show: Delphi C++
Display Preferences


From RAD Studio API Documentation
Jump to: navigation, search


function Encode(const Input: string; const ASet: TUnsafeChars; const Options: TEncodeOptions): string; overload;


HIDESBASE System::UnicodeString __fastcall Encode(const System::UnicodeString Input, const TUnsafeChars &ASet, const TEncodeOptions Options)/* overload */;
inline int __fastcall  Encode(System::Classes::TStream* const Input, System::Classes::TStream* const Output){ return TNetEncoding::Encode(Input, Output); }
inline System::DynamicArray<System::Byte> __fastcall  Encode(const System::Byte *Input, const int Input_High){ return TNetEncoding::Encode(Input, Input_High); }
inline System::UnicodeString __fastcall  Encode(const System::UnicodeString Input){ return TNetEncoding::Encode(Input); }


Type Visibility Source Unit Parent
function public
System.NetEncoding TURLEncoding


Encodes the input data and returns the encoded data.

System.NetEncoding.TURLEncoding.Encode inherits from System.NetEncoding.TNetEncoding.Encode. All content below this line refers to System.NetEncoding.TNetEncoding.Encode.

Encodes the input data and returns the encoded data.

If Input is a string or an array of bytes, Encode returns the encoded data as a string or as an array of bytes respectively.
If Input is a stream, Encode saves the encoded data into Output and returns the number of bytes written into Output.

See Also

Personal tools
In Other Languages
Previous Versions