CryptoPressStream:
Delphi / C++Builder Streaming Compression Library
with Strong Encryption


TCPSManager.BufferToFormat
TCPSManager
Top 

Converts binary data to one of string formats.

Delphi syntax:
type
TCPSStringFormat = (cpssfHEX,cpssfHEXL,cpssfMIME64,cpssfXX,cpssfUU);
function BufferToFormat(Buffer: PChar; Size: Integer; Format: TCPSStringFormat): String;

C++ syntax:
enum
TCPSStringFormat { cpssfHEX, cpssfHEXL, cpssfMIME64, cpssfXX, cpssfUU };
AnsiString __fastcall BufferToFormat(char * Buffer, int Size, TCPSStringFormat Format);

Description
Converts binary data to one of string formats.
Buffer is a pointer to buffer with source data.
Size is size in bytes of the buffer.
Format is a desired string format.



© AidAim Software CryptoPressStream: