Show: Object Pascal C++
Display Preferences

System.NetEncoding.TNetEncoding.Decode

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Decode(const Input, Output: TStream): Integer; overload;
function Decode(const Input: array of Byte): TBytes; overload;
function Decode(const Input: string): string; overload;

C++

int __fastcall Decode(System::Classes::TStream* const Input, System::Classes::TStream* const Output)/* overload */;
System::DynamicArray<System::Byte> __fastcall Decode(System::Byte const *Input, const int Input_High)/* overload */;
System::UnicodeString __fastcall Decode(const System::UnicodeString Input)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.NetEncoding.pas
System.NetEncoding.hpp
System.NetEncoding TNetEncoding

Description

Decodes the input data and returns the decoded data.

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

See Also

Personal tools
Translations