System.Classes.TWriter.Write
Delphi
procedure Write(const Buffer; Count: Longint); overload;
procedure Write(Buffer: TBytes; Offset, Count: Longint); overload;
procedure Write(Buffer: TBytes; Count: Longint); overload;
C++
void __fastcall Write(const void *Buffer, int Count)/* overload */;
void __fastcall Write(System::DynamicArray<System::Byte> Buffer, int Offset, int Count)/* overload */;
void __fastcall Write(System::DynamicArray<System::Byte> Buffer, int Count)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TWriter |
Description
Writes up to Count
bytes from Buffer
to the writer object's stream.
Do not call Write directly. It is used internally to write data to the stream. Many other writer methods call Write, usually after setting pertinent values or verifying data types.
Write advances the current position after the last written byte.