%IO.I.Stream
abstract class %IO.I.Stream extends %Library.RegisteredObject
Abstract base class of all streams The methods of this class work for both Byte and Character streamsProperty Inventory
Method Inventory
- Close()
- CopyFrom()
- CopyReplace()
- CopyReplaceArray()
- DefaultFlushOnWriteGet()
- Flush()
- InputFromDevice()
- OutputToDevice()
- Read()
- ReadUntil()
- ReadUntilArray()
- Write()
Properties
Methods
Setting pInsensitive=1 means the search strings will match in a case-insensitive way.
If pPrevBuf is provided, it is prepended to any data read, and is included in the attempt to find matching search strings. Replaces from left to right and does not repeat and recurse. This means that once a substring is replaced the replacement result will not be searched or replaced again. Returns the total count of characters written to the destination stream If pRewind contains i the input stream will be rewound before copying If pRewind contains I the input stream will be rewound after copying If pRewind contains o the output stream will be rewound before copying If pRewind contains O the output stream will be rewound after copying If pRewind is 1 both streams will be rewound before and after copying. This is the default. If pRewind is empty or zero neither stream will be rewound before or after copying
Setting pInsensitive=1 means the search strings will match in a case-insensitive way.
If pPrevBuf is provided, it is prepended to any data read, and is included in the attempt to find matching search strings. Replaces from left to right and does not repeat and recurse. This means that once a substring is replaced the replacement result will not be searched or replaced again. Returns the total count of characters written to the destination stream
Return any data read until pTimeout seconds have elapsed, or until pIdleTimeout seconds elapse with no further data read, or up until any of the optional pTarget strings is encountered.
If pTarget strings are provided the pWhich output argument will contain an integer indicating which of them was matched. A value of 0 in pWhich indicates that none was matched and therefore the timeout expired or an error occurred.
Setting pInsensitive=1 means the pTarget strings will match data received in a case-insensitive way against the pTargets strings.
If pPrevBuf is provided, it is prepended to any data read, and is included in the attempt to find a matching target string.
Return any data read until pTimeout seconds have elapsed, or until pIdleTimeout seconds elapse with no further data read, or up until any of the optional pTargets strings is encountered.
If pTargets strings are provided the pWhich output argument will contain an integer indicating which of them was matched. A value of 0 in pWhich indicates that none was matched and therefore the timeout expired or an error occurred.
Setting pInsensitive=1 means the pTarget strings will match data received in a case-insensitive way against the pTargets strings.
If pPrevBuf is provided, it is prepended to any data read, and is included in the attempt to find a matching target string.
Inherited Members
Inherited 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()