TStream
Overview
Location
-
Reference:
- Delphi.dll .NET
- delphi.jar Cooper
- Delphi.fx Island
- libDelphi.fx Toffee
- Namespace: RemObjects.Elements.RTL.Delphi
constructor .NET, Cooper, Island
constructor
TStream()
init()
TStream()
Sub New()
CopyFrom virtual
Parameters:
- Source:
- Count:
GetSize protected virtual .NET, Island
GetSize GetSize(): Int64 protected virtual Toffee
func GetSize(GetSize ) -> Int64
Parameters:
- :
Position virtual
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Int64 Position { __get; __set; }
Property Position() As Int64
Read (Pointer, Int32): Int32 virtual Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Offset:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Read1Byte Island-WebAssembly-wasm32
method Read1Byte: Byte
Byte Read1Byte()
func Read1Byte() -> Byte
Byte Read1Byte()
Function Read1Byte() As Byte
Read2Bytes Island-WebAssembly-wasm32
method Read2Bytes: UInt16
UInt16 Read2Bytes()
func Read2Bytes() -> UInt16
UInt16 Read2Bytes()
Function Read2Bytes() As UInt16
Read4Bytes Island-WebAssembly-wasm32
method Read4Bytes: UInt32
UInt32 Read4Bytes()
func Read4Bytes() -> UInt32
UInt32 Read4Bytes()
Function Read4Bytes() As UInt32
Read8Bytes Island-WebAssembly-wasm32
method Read8Bytes: UInt64
UInt64 Read8Bytes()
func Read8Bytes() -> UInt64
UInt64 Read8Bytes()
Function Read8Bytes() As UInt64
ReadBufferData (Boolean) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Boolean)
void ReadBufferData(ref Boolean Buffer)
func ReadBufferData(_ Buffer: Boolean)
Sub ReadBufferData(ByRef Buffer As Boolean)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Char) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Char)
void ReadBufferData(ref Char Buffer)
func ReadBufferData(_ Buffer: Char)
Sub ReadBufferData(ByRef Buffer As Char)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Double) virtual
method ReadBufferData(var Buffer: Double)
void ReadBufferData(ref Double Buffer)
func ReadBufferData(_ Buffer: Double)
void ReadBufferData(__ref Integer Buffer)
Sub ReadBufferData(ByRef Buffer As Double)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int16) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int16)
void ReadBufferData(ref Int16 Buffer)
func ReadBufferData(_ Buffer: Int16)
Sub ReadBufferData(ByRef Buffer As Int16)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int32) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int32)
void ReadBufferData(ref Int32 Buffer)
func ReadBufferData(_ Buffer: Int32)
Sub ReadBufferData(ByRef Buffer As Int32)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int64) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int64)
void ReadBufferData(ref Int64 Buffer)
func ReadBufferData(_ Buffer: Int64)
Sub ReadBufferData(ByRef Buffer As Int64)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (SByte) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: SByte)
void ReadBufferData(ref SByte Buffer)
func ReadBufferData(_ Buffer: SByte)
Sub ReadBufferData(ByRef Buffer As SByte)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Single) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Single)
void ReadBufferData(ref Single Buffer)
func ReadBufferData(_ Buffer: Single)
Sub ReadBufferData(ByRef Buffer As Single)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt16) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt16)
void ReadBufferData(ref UInt16 Buffer)
func ReadBufferData(_ Buffer: UInt16)
Sub ReadBufferData(ByRef Buffer As UInt16)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt32) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt32)
void ReadBufferData(ref UInt32 Buffer)
func ReadBufferData(_ Buffer: UInt32)
Sub ReadBufferData(ByRef Buffer As UInt32)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt64) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt64)
void ReadBufferData(ref UInt64 Buffer)
func ReadBufferData(_ Buffer: UInt64)
Sub ReadBufferData(ByRef Buffer As UInt64)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Byte) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Byte)
void ReadBufferData(ref Byte Buffer)
func ReadBufferData(_ Buffer: Byte)
Sub ReadBufferData(ByRef Buffer As Byte)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBytes virtual
method ReadBytes(Count: Int32): TBytes
TBytes ReadBytes(Int32 Count)
func ReadBytes(_ Count: Int32) -> TBytes
TBytes ReadBytes(Integer Count)
Function ReadBytes(Count As Int32) As TBytes
Parameters:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadString virtual
method ReadString(Count: Int32; aEncoding: TEncoding): DelphiString
DelphiString ReadString(Int32 Count, TEncoding aEncoding)
func ReadString(_ Count: Int32, _ aEncoding: TEncoding) -> DelphiString
DelphiString ReadString(Integer Count, TEncoding aEncoding)
Function ReadString(Count As Int32, aEncoding As TEncoding) As DelphiString
Parameters:
- Count:
- aEncoding:
Parameters:
- Offset:
- Origin:
Seek (Int64, TSeekOrigin): Int64 virtual
method Seek(Offset: Int64; Origin: TSeekOrigin): Int64
Int64 Seek(Int64 Offset, TSeekOrigin Origin)
func Seek(_ Offset: Int64, _ Origin: TSeekOrigin) -> Int64
Int64 Seek(Int64 Offset, TSeekOrigin Origin)
Function Seek(Offset As Int64, Origin As TSeekOrigin) As Int64
Parameters:
- Offset:
- Origin:
Parameters:
- Offset:
- Origin:
SetSize protected virtual
method SetSize(NewSize: Int64)
void SetSize(Int64 NewSize)
func SetSize(_ NewSize: Int32)
void SetSize(Integer NewSize)
Sub SetSize(NewSize As Int64)
Parameters:
- NewSize:
Size virtual
property Size: Int64 read write;
Int64 Size { get; set; }
var Size: Int64 { get{} set{} }
Int64 Size { __get; __set; }
Property Size() As Int64
ToPlatformStream .NET
method ToPlatformStream: Stream
Stream ToPlatformStream()
func ToPlatformStream() -> Stream
Stream ToPlatformStream()
Function ToPlatformStream() As Stream
Write (Pointer, Int32): Int32 virtual Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Offset:
- Count:
Write1Byte Island-WebAssembly-wasm32
method Write1Byte(aValue: Byte)
void Write1Byte(Byte aValue)
func Write1Byte(_ aValue: Byte)
void Write1Byte(Byte aValue)
Sub Write1Byte(aValue As Byte)
Parameters:
- aValue:
Write2Bytes Island-WebAssembly-wasm32
method Write2Bytes(aValue: UInt16)
void Write2Bytes(UInt16 aValue)
func Write2Bytes(_ aValue: UInt16)
void Write2Bytes(UInt16 aValue)
Sub Write2Bytes(aValue As UInt16)
Parameters:
- aValue:
Write4Bytes Island-WebAssembly-wasm32
method Write4Bytes(aValue: UInt32)
void Write4Bytes(UInt32 aValue)
func Write4Bytes(_ aValue: UInt32)
void Write4Bytes(UInt32 aValue)
Sub Write4Bytes(aValue As UInt32)
Parameters:
- aValue:
Write8Bytes Island-WebAssembly-wasm32
method Write8Bytes(aValue: UInt64)
void Write8Bytes(UInt64 aValue)
func Write8Bytes(_ aValue: UInt64)
void Write8Bytes(UInt64 aValue)
Sub Write8Bytes(aValue As UInt64)
Parameters:
- aValue:
WriteBufferData virtual
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
WriteString virtual
method WriteString(aString: DelphiString; aEncoding: TEncoding): Int32
Int32 WriteString(DelphiString aString, TEncoding aEncoding)
func WriteString(_ aString: DelphiString, _ aEncoding: TEncoding) -> Int32
Integer WriteString(DelphiString aString, TEncoding aEncoding)
Function WriteString(aString As DelphiString, aEncoding As TEncoding) As Int32
Parameters:
- aString:
- aEncoding:
Position virtual
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Int64 Position { __get; __set; }
Property Position() As Int64
Size virtual
constructor .NET, Cooper, Island
constructor
TStream()
init()
TStream()
Sub New()
CopyFrom virtual
Parameters:
- Source:
- Count:
GetSize protected virtual .NET, Island
GetSize GetSize(): Int64 protected virtual Toffee
func GetSize(GetSize ) -> Int64
Parameters:
- :
Read (Pointer, Int32): Int32 virtual Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Offset:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Read1Byte Island-WebAssembly-wasm32
method Read1Byte: Byte
Byte Read1Byte()
func Read1Byte() -> Byte
Byte Read1Byte()
Function Read1Byte() As Byte
Read2Bytes Island-WebAssembly-wasm32
method Read2Bytes: UInt16
UInt16 Read2Bytes()
func Read2Bytes() -> UInt16
UInt16 Read2Bytes()
Function Read2Bytes() As UInt16
Read4Bytes Island-WebAssembly-wasm32
method Read4Bytes: UInt32
UInt32 Read4Bytes()
func Read4Bytes() -> UInt32
UInt32 Read4Bytes()
Function Read4Bytes() As UInt32
Read8Bytes Island-WebAssembly-wasm32
method Read8Bytes: UInt64
UInt64 Read8Bytes()
func Read8Bytes() -> UInt64
UInt64 Read8Bytes()
Function Read8Bytes() As UInt64
ReadBufferData (Boolean) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Boolean)
void ReadBufferData(ref Boolean Buffer)
func ReadBufferData(_ Buffer: Boolean)
Sub ReadBufferData(ByRef Buffer As Boolean)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Char) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Char)
void ReadBufferData(ref Char Buffer)
func ReadBufferData(_ Buffer: Char)
Sub ReadBufferData(ByRef Buffer As Char)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Double) virtual
method ReadBufferData(var Buffer: Double)
void ReadBufferData(ref Double Buffer)
func ReadBufferData(_ Buffer: Double)
void ReadBufferData(__ref Integer Buffer)
Sub ReadBufferData(ByRef Buffer As Double)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int16) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int16)
void ReadBufferData(ref Int16 Buffer)
func ReadBufferData(_ Buffer: Int16)
Sub ReadBufferData(ByRef Buffer As Int16)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int32) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int32)
void ReadBufferData(ref Int32 Buffer)
func ReadBufferData(_ Buffer: Int32)
Sub ReadBufferData(ByRef Buffer As Int32)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Int64) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Int64)
void ReadBufferData(ref Int64 Buffer)
func ReadBufferData(_ Buffer: Int64)
Sub ReadBufferData(ByRef Buffer As Int64)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (SByte) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: SByte)
void ReadBufferData(ref SByte Buffer)
func ReadBufferData(_ Buffer: SByte)
Sub ReadBufferData(ByRef Buffer As SByte)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Single) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Single)
void ReadBufferData(ref Single Buffer)
func ReadBufferData(_ Buffer: Single)
Sub ReadBufferData(ByRef Buffer As Single)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt16) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt16)
void ReadBufferData(ref UInt16 Buffer)
func ReadBufferData(_ Buffer: UInt16)
Sub ReadBufferData(ByRef Buffer As UInt16)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt32) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt32)
void ReadBufferData(ref UInt32 Buffer)
func ReadBufferData(_ Buffer: UInt32)
Sub ReadBufferData(ByRef Buffer As UInt32)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (UInt64) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: UInt64)
void ReadBufferData(ref UInt64 Buffer)
func ReadBufferData(_ Buffer: UInt64)
Sub ReadBufferData(ByRef Buffer As UInt64)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBufferData (Byte) virtual .NET, Island, Toffee
method ReadBufferData(var Buffer: Byte)
void ReadBufferData(ref Byte Buffer)
func ReadBufferData(_ Buffer: Byte)
Sub ReadBufferData(ByRef Buffer As Byte)
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadBytes virtual
method ReadBytes(Count: Int32): TBytes
TBytes ReadBytes(Int32 Count)
func ReadBytes(_ Count: Int32) -> TBytes
TBytes ReadBytes(Integer Count)
Function ReadBytes(Count As Int32) As TBytes
Parameters:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
ReadString virtual
method ReadString(Count: Int32; aEncoding: TEncoding): DelphiString
DelphiString ReadString(Int32 Count, TEncoding aEncoding)
func ReadString(_ Count: Int32, _ aEncoding: TEncoding) -> DelphiString
DelphiString ReadString(Integer Count, TEncoding aEncoding)
Function ReadString(Count As Int32, aEncoding As TEncoding) As DelphiString
Parameters:
- Count:
- aEncoding:
Parameters:
- Offset:
- Origin:
Seek (Int64, TSeekOrigin): Int64 virtual
method Seek(Offset: Int64; Origin: TSeekOrigin): Int64
Int64 Seek(Int64 Offset, TSeekOrigin Origin)
func Seek(_ Offset: Int64, _ Origin: TSeekOrigin) -> Int64
Int64 Seek(Int64 Offset, TSeekOrigin Origin)
Function Seek(Offset As Int64, Origin As TSeekOrigin) As Int64
Parameters:
- Offset:
- Origin:
Parameters:
- Offset:
- Origin:
SetSize protected virtual
method SetSize(NewSize: Int64)
void SetSize(Int64 NewSize)
func SetSize(_ NewSize: Int32)
void SetSize(Integer NewSize)
Sub SetSize(NewSize As Int64)
Parameters:
- NewSize:
ToPlatformStream .NET
method ToPlatformStream: Stream
Stream ToPlatformStream()
func ToPlatformStream() -> Stream
Stream ToPlatformStream()
Function ToPlatformStream() As Stream
Write (Pointer, Int32): Int32 virtual Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Offset:
- Count:
Write1Byte Island-WebAssembly-wasm32
method Write1Byte(aValue: Byte)
void Write1Byte(Byte aValue)
func Write1Byte(_ aValue: Byte)
void Write1Byte(Byte aValue)
Sub Write1Byte(aValue As Byte)
Parameters:
- aValue:
Write2Bytes Island-WebAssembly-wasm32
method Write2Bytes(aValue: UInt16)
void Write2Bytes(UInt16 aValue)
func Write2Bytes(_ aValue: UInt16)
void Write2Bytes(UInt16 aValue)
Sub Write2Bytes(aValue As UInt16)
Parameters:
- aValue:
Write4Bytes Island-WebAssembly-wasm32
method Write4Bytes(aValue: UInt32)
void Write4Bytes(UInt32 aValue)
func Write4Bytes(_ aValue: UInt32)
void Write4Bytes(UInt32 aValue)
Sub Write4Bytes(aValue As UInt32)
Parameters:
- aValue:
Write8Bytes Island-WebAssembly-wasm32
method Write8Bytes(aValue: UInt64)
void Write8Bytes(UInt64 aValue)
func Write8Bytes(_ aValue: UInt64)
void Write8Bytes(UInt64 aValue)
Sub Write8Bytes(aValue As UInt64)
Parameters:
- aValue:
WriteBufferData virtual
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
Parameters:
- Buffer:
Parameters:
- Buffer:
- Count:
WriteString virtual
method WriteString(aString: DelphiString; aEncoding: TEncoding): Int32
Int32 WriteString(DelphiString aString, TEncoding aEncoding)
func WriteString(_ aString: DelphiString, _ aEncoding: TEncoding) -> Int32
Integer WriteString(DelphiString aString, TEncoding aEncoding)
Function WriteString(aString As DelphiString, aEncoding As TEncoding) As Int32
Parameters:
- aString:
- aEncoding: