Skip to main content

%IO.IParts.SeekableIO

Class %IO.IParts.SeekableIO [ Abstract, System = 2 ]

Aggregation holder class for methods implemented in Seekable stream classes The methods of this class work for both Byte and Character streams

Properties

Position

Property Position As %Integer [ InitialExpression = 0, ReadOnly ];

Size

Property Size As %Integer [ Calculated, ReadOnly ];

Methods

Rewind

Method Rewind(Output pSC As %Status)

Seek

Method Seek(pPosition As %Integer = 1, Output pSC As %Status) As %Boolean [ Abstract ]

SizeGet

Method SizeGet() As %Integer

TruncateAt

Method TruncateAt(pPosition As %Integer, Output pSC As %Status) As %Boolean

Clear

Method Clear(Output pSC As %Status) As %Boolean

Find

Method Find(pMatch As %String, pPosition As %Integer = 1, pEndPosition As %Integer = -1, Output pSC As %Status, pReadLines As %Boolean = 0) As %Integer