Constructs an InputStream using a communicator and this communicator's default encoding version.
The communicator to use for unmarshaling tasks.
The encoded data. When a Uint8Array is supplied, the stream reads the exact byte
range of the view.
Constructs an InputStream using a communicator and encoding version.
The communicator to use for unmarshaling tasks.
The encoding version used to encode the data to be unmarshaled.
The encoded data. When a Uint8Array is supplied, the stream reads the exact byte
range of the view.
Gets or sets the stream position
ReadonlysizeGets the size of the stream.
Releases any data retained by encapsulations.
Reads the end of an encapsulation.
Marks the end of an exception.
Indicates that the end of a class instance or exception slice has been reached.
Marks the end of a class instance.
A SlicedData object containing the preserved slices for unknown types, or null if the instance has no preserved slices.
Returns the size of the current encapsulation, excluding the encapsulation header.
The size of the encapsulated data.
Returns whether the stream is empty.
True if the internal buffer has no data, false otherwise.
Reads and validates a sequence size.
The minimum number of bytes required to encode each element of the sequence.
The size read from the stream.
Reads a blob of bytes from the stream.
The number of bytes to read.
The byte array read from the stream.
Reads a boolean from the stream.
The boolean read from the stream.
Reads a byte from the stream.
The byte read from the stream.
Reads a byte sequence from the stream.
The byte sequence read from the stream.
Reads a double from the stream.
The double read from the stream.
Reads an encapsulation from the stream.
a tuple containing:
Reads a float from the stream.
The float read from the stream.
Reads an integer from the stream.
The integer read from the stream.
Reads a long from the stream.
The long read from the stream.
Determine if an optional value is available for reading.
The tag associated with the value.
The optional format for the value.
True if the optional value is present, false otherwise.
Reads an optional proxy from the stream.
The numeric tag associated with the value.
The type of the proxy to read.
The proxy, null if the proxy read from the stream is a nil (null) proxy, or undefined if the optional value is not present.
Indicates that unmarshaling is complete, except for any class instances. The application must call this method only if the stream actually contains class instances.
Reads a short from the stream.
The short read from the stream.
Reads a size from the stream.
The size read from the stream.
Reads a string from the stream.
The string read from the stream.
Reads the index of a Slice value from the stream.
The callback to notify the application when the extracted instance is available. The stream extracts Slice values in stages. The Ice runtime invokes the callback when the corresponding instance has been fully unmarshaled; the callback receives null for a nil instance.
The expected type of the instance; unmarshaling throws MarshalException when the unmarshaled instance is not an instance of this type.
Resizes the stream to a new size.
The new size.
Skip the given number of bytes.
The number of bytes to skip.
Skips over an encapsulation.
The encoding version of the skipped encapsulation.
Skip over a size value.
Skips over a class instance or exception slice.
Marks the start of an exception.
Reads the start of a class instance or exception slice.
The Slice type ID for this slice.
Marks the start of a class instance.
Swaps the contents of one stream with another.
The other stream.
Reads a user exception from the stream and throws it.
Represents a byte buffer used for unmarshaling data encoded using the Slice encoding.