Name | Arguments | Description |
isBigEndian
| |
Returns true if the underlying input or output stream uses big-endian sequence.
|
isLittleEndian
| |
Returns true if the underlying input or output stream uses little-endian sequence.
|
lastModified
| |
Returns the last modified time of the input file. It may not be available, in which case 0 is returned.
|
readBytesAsString
| length encoding
|
Reads length bytes and returns a string with encoding.
If encoding is not specified, use the JVM's current default text encoding.
If length is not specified, read a single byte.
|
setBigEndian
| |
Sets the underlying input or output stream to use big-endian sequence.
This is typically called before any I/O operations.
|
setLittleEndian
| |
Sets the underlying input or output stream to use little-endian sequence.
This is typically called before any I/O operations.
|
size length
| |
Returns the size of the input file. It may not be available, in which case 0 is returned.
|
toTextInput
| |
Returns a buffered reader for the underlying input stream. If this is a buffered reader
already, returns self.
|
toTextOutput
| |
Returns a print writer for the underlying output stream. If this is a print writer
already, returns self.
|