Class Reference
%IO.NullStream
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%IO] >  [NullStream]
Private  Storage

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

Read returns nothing, Write does nothing

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary

Properties
AtEnd CharEncoding DefaultFlushOnWrite IsCharacter
IsOpen Name Position Size

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AtEndGet CharEncodingSet Clear Close
CopyFrom CopyReplace CopyReplaceArray DefaultFlushOnWriteGet
Find Flush InputFromDevice IsOpenGet
OutputToDevice Read ReadUntil ReadUntilArray
Rewind Seek SizeGet TruncateAt
Write


Methods

• method AtEndGet() as %Boolean
This is a Get accessor method for the AtEnd property.
• method IsOpenGet() as %Boolean
This is a Get accessor method for the IsOpen property.
• method Read(pMaxReadLen As %Integer, ByRef pTimeout As %Numeric = -1, Output pSC As %Status) as %String
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
• method Write(pData As %String = "", pFlush As %Boolean, Output pSC As %Status)
Write pData to the stream buffer. If pFlush is True, ensure that the data are actually sent to the stream.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.