This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


abstract class %IO.IParts.SeekableIO

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

Property Inventory (Including Private)

Method Inventory (Including Private)


property Position as %Integer [ InitialExpression = 0 , ReadOnly ];
Property methods: PositionDisplayToLogical(), PositionGet(), PositionIsValid(), PositionLogicalToDisplay(), PositionNormalize()
property Size as %Integer [ Calculated , ReadOnly ];
Property methods: SizeDisplayToLogical(), SizeGet(), SizeIsValid(), SizeLogicalToDisplay(), SizeNormalize()


method Clear(Output pSC As %Status) as %Boolean
method Find(pMatch As %String, pPosition As %Integer = 1, pEndPosition As %Integer = -1, Output pSC As %Status, pReadLines As %Boolean = 0) as %Integer
method Rewind(Output pSC As %Status)
abstract method Seek(pPosition As %Integer = 1, Output pSC As %Status) as %Boolean
method SizeGet() as %Integer
method TruncateAt(pPosition As %Integer, Output pSC As %Status) as %Boolean