System.Classes.TWriter.Write

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Write(const Buffer; Count: NativeInt); overload;
procedure Write(Buffer: TBytes; Offset, Count: NativeInt); overload;
procedure Write(Buffer: TBytes; Count: NativeInt); overload;

C++

void __fastcall Write(const void *Buffer, NativeInt Count)/* overload */;
void __fastcall Write(System::DynamicArray<System::Byte> Buffer, NativeInt Offset, NativeInt Count)/* overload */;
void __fastcall Write(System::DynamicArray<System::Byte> Buffer, NativeInt 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.

See Also