Stream

Qualified name: delphifmx.Stream

class Stream

Bases: Object

Wrapper for Pascal class TStream

Methods

CopyFrom

FixupResourceHeader

Read

Read64

ReadBuffer

ReadBufferData

ReadBytes

Read content as bytes.

ReadComponent

ReadComponentRes

ReadData

ReadFloat

Read content as float.

ReadInt

Read content as integer.

ReadResHeader

ReadString

Read content as string.

Seek

Seek32

Write

Write64

WriteBuffer

WriteBufferData

WriteBytes

Write content as bytes.

WriteComponent

WriteComponentRes

WriteData

WriteDescendent

WriteDescendentRes

WriteFloat

Write content as float.

WriteInt

Write content as integer.

WriteResourceHeader

WriteString

Write content as string.

Attributes

Capabilities

StreamCapabilities:

ClassName

Returns the TObject.ClassName

Position

int:

Size

int:

Capabilities

StreamCapabilities:

ClassName

Returns the TObject.ClassName

CopyFrom(Source: Stream, Count: int, BufferSize: int) int
FixupResourceHeader(FixupInfo: int) None
Position

int:

Read(Buffer, Count: int) int
Read64(Buffer: tuple, Offset: int, Count: int) int
ReadBuffer(Buffer, Count: int) None
ReadBufferData(Buffer: bool) None
ReadBytes()

Read content as bytes.

ReadComponent(Instance: Component) Component
ReadComponentRes(Instance: Component) Component
ReadData(Buffer: Pointer, Count: int) int
ReadFloat()

Read content as float.

ReadInt()

Read content as integer.

ReadResHeader()
ReadString()

Read content as string.

Seek(Offset: int, Origin: int) int
Seek32(Offset: int, Origin: SeekOrigin) int
Size

int:

Write(Buffer, Count: int) int
Write64(Buffer: tuple, Offset: int, Count: int) int
WriteBuffer(Buffer, Count: int) None
WriteBufferData(Buffer: int, Count: int) None
WriteBytes()

Write content as bytes.

WriteComponent(Instance: Component) None
WriteComponentRes(ResName: str, Instance: Component) None
WriteData(Buffer: tuple, Count: int) int
WriteDescendent(Instance: Component, Ancestor: Component) None
WriteDescendentRes(ResName: str, Instance: Component, Ancestor: Component) None
WriteFloat()

Write content as float.

WriteInt()

Write content as integer.

WriteResourceHeader(ResName: str, FixupInfo: int) None
WriteString()

Write content as string.