Data.DBXTransport.TTransportFilter.Encode

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXTransport.pas
Data.DBXTransport.hpp
Unit: Data.DBXTransport
Parent: TTransportFilter

Delphi

class function Encode(const Data: TArray<Byte>; const Pos: Integer; const DataLength: Integer): string; static;

C++

static System::UnicodeString __fastcall Encode(const System::DynamicArray<System::Byte> Data, const int Pos, const int DataLength);

Description

Encodes a byte stream into a string.

The Encode method is a utility method that encodes a byte stream into a hex string. The Data parameter specifies the byte array, never null. The Pos and Length parameters represent the byte array position and the length of the byte array to be transformed into a string.

See Also