 Summary
Summary
FlushBuffer method allows to flush serializer internal buffer and synchronize resulting stream content.
 Syntax
Syntax
procedure FlushBuffer;
 Remarks
Remarks
For improving performance, NG.Serialization.Binary.TBinarySerializer use its own internal buffer; thus real writing to TStream is delayed. Buffer flush is performed automatically, when the serializer object is destroyed, but if TStream content is needed to be valid before serializer destruction, its required to call FlushBuffer method to synchronize stream content.
 
 
 
 
