Java.IO.DataInputStream: Method Members

The methods of Java.IO.DataInputStream are listed below. For a list of all members, see the DataInputStream Members list.

See Also: Inherited members from Java.IO.FilterInputStream

Public Methods

override
Read(byte[]) : int
Equivalent to read(buffer, 0, buffer.length).
override
Read(byte[], int, int) : int
Reads up to byteCount bytes from this stream and stores them in the byte array buffer starting at byteOffset.
ReadBoolean() : bool
Reads a boolean.
ReadByte() : sbyte
Reads an 8-bit byte value.
ReadChar() : char
Reads a big-endian 16-bit character value.
ReadDouble() : double
Reads a big-endian 64-bit double value.
ReadFloat() : float
Reads a big-endian 32-bit float value.
ReadFully(byte[])
Equivalent to readFully(dst, 0, dst.length);.
ReadFully(byte[], int, int)
Reads byteCount bytes from this stream and stores them in the byte array dst starting at offset.
ReadInt() : int
Reads a big-endian 32-bit integer value.
ReadLine() : string
Returns a string containing the next line of text available from this stream.
ReadLong() : long
Reads a big-endian 64-bit long value.
ReadShort() : short
Reads a big-endian 16-bit short value.
ReadUnsignedByte() : int
Reads an unsigned 8-bit byte value and returns it as an int.
ReadUnsignedShort() : int
Reads a big-endian 16-bit unsigned short value and returns it as an int.
ReadUTF() : string
Reads a string encoded with Java.IO.IDataInput.
static
ReadUTF(IDataInput) : string
SkipBytes(int) : int
Skips count number of bytes in this stream.