ISRandomAccessIO Class Members
In This Topic
The following tables list the members exposed by ISRandomAccessIO.
Public Constructors
Public Properties
| Name | Description |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | ByteOrdering | Returns the endianess (i.e., byte ordering) of multi-byte I/O operations. Always EndianType.BIG_ENDIAN since this class implements only big-endian. |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | Pos | Returns the current position in the stream, which is the position from where the next byte of data would be read. The first byte in the stream is in position 0. |
Top
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | close | Closes this object for reading as well as the wrapped InputStream, if not already closed. The memory used by the cache is released. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | flush | Does nothing since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | length | Returns the length of the stream. This will cause all the data to be read. This method will block until all the data is read, which can be lengthy across the network. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | read | |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readByte | Reads a byte of data from the stream. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readDouble | Reads an IEEE double precision (i.e., 64 bit) floating-point number from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readFloat | Reads an IEEE single precision (i.e., 32 bit) floating-point number from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readFully | Reads 'len' bytes of data from this file into an array of bytes. This method reads repeatedly from the stream until all the bytes are read. This method blocks until all the bytes are read, the end of the stream is detected, or an exception is thrown. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readInt | Reads a signed int (32 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readLong | Reads a signed long (64 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readShort | Reads a signed short (16 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readUnsignedByte | Reads an unsigned byte (8 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readUnsignedInt | Reads a unsigned int (32 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | readUnsignedShort | Reads an unsigned short (16 bit) from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | seek | Moves the current position for the next read operation to offset. The offset is measured from the beginning of the stream. If the offset is set beyond the currently cached data, the missing data will be read only when a read operation is performed. Setting the offset beyond the end of the data will cause an EOFException only if the data length is currently known, otherwise an IOException will occur when a read operation is attempted at that position. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | skipBytes | Skips 'n' bytes from the input. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | write | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeByte | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeDouble | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeFloat | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeInt | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeLong | Throws an IOException since this class does not implement data output. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | writeShort | Throws an IOException since this class does not implement data output. |
Top
See Also