Home > Class Reference > %SYS namespace > %IO.NullStream


class %IO.NullStream extends %IO.I.ByteSeekableStream

Read returns nothing, Write does nothing

Method Inventory (Including Private)

Methods (Including Private)

method AtEndGet() as %Boolean [ Language = objectscript ]
method IsOpenGet() as %Boolean [ Language = objectscript ]
method Read(pMaxReadLen As %Integer, ByRef pTimeout As %Numeric = -1, Output pSC As %Status) as %String [ Language = objectscript ]
Inherited description: Read until pMaxReadLen chars are gotten or pTimeout expires On return, if pTimeout is unchanged it means the full timeout period expired. If the timeout period expired and the returned string is shorter than pMaxReadLen, then AtEnd will be 1.
method Seek(pPosition As %Integer, Output pSC As %Status) as %Boolean [ Language = objectscript ]
method Write(pData As %String = "", pFlush As %Boolean, Output pSC As %Status) [ Language = objectscript ]
Inherited description: Write pData to the stream buffer. If pFlush is True, ensure that the data are actually sent to the stream.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window