L b64 b56 b48 b40 b32 b24 b16 b8
long
value from this stream.
@return the next long
value from the source stream.
@throws IOException If a problem occurs reading from this stream.
@see DataOutput#writeLong(long)
readLong
method of DataInput
. Bytes for this operation are read from the contained input stream.
@return the next eight bytes of this input stream, interpreted as along
.
@exception EOFException if this input stream reaches the end beforereading eight bytes.
@exception IOException the stream has been closed and the containedinput stream does not support reading after close, or another I/O error occurs.
@see java.io.FilterInputStream#in
ObjectOutputStream.writeLong()
@throws IOException If an IO exception happened when reading the primitive data.
long
value from this stream.
@return long the next long
value from the source stream.
@throws IOException If a problem occurs reading from this DataInputStream.
@see DataOutput#writeLong(long)
long
. The bit offset within the stream is reset to zero before the read occurs. @return a signed long value from the stream. @exception java.io.EOFException if the stream reaches the end beforereading all the bytes. @exception IOException if an I/O error occurs. @see #getByteOrder
SQLInputImpl
object as a long
in the Java programming language. This method does not perform type-safe checking to determine if the returned type is the expected type; this responsibility is delegated to the UDT mapping as defined by a SQLData
implementation.
@return the next attribute in this SQLInputImpl
object;if the value is SQL NULL
, return null
@throws SQLException if the read position is located at an invalidposition or if there are no more values in the stream
long
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
long
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
long
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of bytes stream has beenreached.
@throws MessageNotReadableException if the message is in write-only mode.
long
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of message stream has beenreached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-only mode.
long
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
long
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
long
value. Let a
be the first byte read, b
be the second byte, c
be the third byte, d
be the fourth byte, e
be the fifth byte, f
be the sixth byte, g
be the seventh byte, and h
be the eighth byte. The value returned is:
<code> (((long)(a & 0xff) << 56) | ((long)(b & 0xff) << 48) | ((long)(c & 0xff) << 40) | ((long)(d & 0xff) << 32) | ((long)(e & 0xff) << 24) | ((long)(f & 0xff) << 16) | ((long)(g & 0xff) << 8) | ((long)(h & 0xff))) </code>
This method is suitable for reading bytes written by the writeLong
method of interface DataOutput
.
@return the long
value read.
@exception EOFException if this stream reaches the end before reading all the bytes.
@exception IOException if an I/O error occurs.
DataInput
readLong
method of DataInput
. Bytes for this operation are read from the contained input stream.
@return the next eight bytes of this input stream, interpreted as along
.
@exception EOFException if this input stream reaches the end before reading eight bytes.
@exception IOException if an I/O error occurs.
@see RecordInputStream#in
long
' value at index 'index
'.
@param index the field index.
@throws IndexOutOfBoundsException if the index is out of bounds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|