RAD Studio VCL Reference
|
Write writes Count bytes from Buffer to the current position in the string stream and updates the current position by Count bytes.
function Write(const Buffer; Count: Longint): Longint; override;
virtual __fastcall Longint Write(const Buffer, Longint Count);
Use Write to replace the end of the string from the current position on with the first Count bytes of Buffer. Write will change the Size property to reflect the new length of the DataString.
Write always writes Count bytes from Buffer, even if a null character is included as one of the Count bytes. Thus, Write is equivalent to the WriteBuffer method.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|