Summary

This overload of Create method family allows to initialize new  TBinaryData instance with NG.Serialization.TGetDataFunc user callback function reference. This generally allows to read binary data from any data source without storing arbitrary sized binary data in memory.

Syntax

class function Create(const AFunc:
                          TGetDataFunc): TBinaryData; overload; static;

Parameters

AFunc

Type: TGetDataFunc

A reference to user implemented callback function, which will provide real data.

Return Value

Initialized TBinaryData instance.