Skip to main content

%IO.NullStream

Class %IO.NullStream Extends %IO.I.ByteSeekableStream [ System = 2 ]

Read returns nothing, Write does nothing

Methods

IsOpenGet

Method IsOpenGet() As %Boolean [ CodeMode = expression ]

AtEndGet

Method AtEndGet() As %Boolean [ CodeMode = expression ]

Read

Method Read(pMaxReadLen As %Integer, ByRef pTimeout As %Numeric = -1, Output pSC As %Status) As %String

Write

Method Write(pData As %String = "", pFlush As %Boolean, Output pSC As %Status)

Seek

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