Summary

This overload of Create method family allows to initialize TBinaryData instance with in-memory stored binary data.

Syntax

class function Create(const ABuffer;
                          ACount: Integer): TBinaryData; overload; static;

Parameters

ABuffer

Type: Void Type

Underlaying binary data memory.
ACount

Type: Integer

The size of the data stored in ABuffer.

Return Value

Initialized TBinaryData instance.

Remarks

Underlaying binary data, stored in ABuffer is not copied into TBinaryData; thus, the buffer should remains valid all the time TBinaryData instance is used.