AbstractProtectedconstructorOptionalisInternalConstructor: booleanGets the access mode of the stream.
Checks whether the stream reads/writes from a file system.
Determines if the stream is readable.
Checks whether the stream is valid.
Determines if the stream is writable.
Gets the name of the stream.
Returns the total size of the data to be read from the stream, or 0 if this is indeterminate for this stream.
Aligns the read/write cursor to a byte boundary. count determines the alignment in bytes. Note the requested alignment might
not be achieved if count > 1 and it would move the cursor past the capacity of the buffer, as the cursor will be clamped to
buffer end regardless of alignment.
Optionalcount: numberCreates a copy of this stream.
OptionalcopyData: booleanIf true the internal stream data will be copied as well, otherwise it will just reference the data from the original stream (in which case the caller must ensure the original stream outlives the clone). This is not relevant for file streams.
Writes the provided narrow string to the steam. String is convered to the required encoding before being written.
String containing narrow characters to write, encoded as UTF8.
Optionalencoding: EnumValue<StringEncoding, number>Encoding to convert the string to before writing.
OptionalisWritingBOM: boolean
General purpose class used for encapsulating the reading and writing of data from and to various sources using a common interface.