Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
DatagramChannel.read(ByteBuffer[] dsts)
Reads a datagram from this channel.
long
ScatteringByteChannel.read(ByteBuffer[] dsts)
Reads a sequence of bytes from this channel into the given buffers.
long
FileChannel.read(ByteBuffer[] dsts)
Reads a sequence of bytes from this channel into the given buffers.
abstract long
SocketChannel.read(ByteBuffer[] dsts,
int offset,
int length)
abstract long
DatagramChannel.read(ByteBuffer[] dsts,
int offset,
int length)
Reads a datagram from this channel.
long
ScatteringByteChannel.read(ByteBuffer[] dsts,
int offset,
int length)
Reads a sequence of bytes from this channel into a subsequence of the
given buffers.
abstract long
FileChannel.read(ByteBuffer[] dsts,
int offset,
int length)
Reads a sequence of bytes from this channel into a subsequence of the
given buffers.
abstract int
FileChannel.read(ByteBuffer dst,
long position)
Reads a sequence of bytes from this channel into the given buffer,
starting at the given file position.
DatagramChannel.write(ByteBuffer[] srcs)
Writes a datagram to this channel.
long
GatheringByteChannel.write(ByteBuffer[] srcs)
Writes a sequence of bytes to this channel from the given buffers.
long
FileChannel.write(ByteBuffer[] srcs)
Writes a sequence of bytes to this channel from the given buffers.
abstract long
SocketChannel.write(ByteBuffer[] srcs,
int offset,
int length)
abstract long
DatagramChannel.write(ByteBuffer[] srcs,
int offset,
int length)
Writes a datagram to this channel.
long
GatheringByteChannel.write(ByteBuffer[] srcs,
int offset,
int length)
Writes a sequence of bytes to this channel from a subsequence of the
given buffers.
abstract long
FileChannel.write(ByteBuffer[] srcs,
int offset,
int length)
Writes a sequence of bytes to this channel from a subsequence of the
given buffers.
abstract int
FileChannel.write(ByteBuffer src,
long position)
Writes a sequence of bytes to this channel from the given buffer,
starting at the given file position.
CharsetEncoder.encode(CharBuffer in)
Convenience method that encodes the remaining content of a single input
character buffer into a newly-allocated byte buffer.
CharsetDecoder.decode(ByteBuffer in)
Convenience method that decodes the remaining content of a single input
byte buffer into a newly-allocated character buffer.
CharsetDecoder.decode(ByteBuffer in,
CharBuffer out,
boolean endOfInput)
Decodes as many bytes as possible from the given input buffer,
writing the results to the given output buffer.
CharsetEncoder.encode(CharBuffer in,
ByteBuffer out,
boolean endOfInput)
Encodes as many characters as possible from the given input buffer,
writing the results to the given output buffer.
Cipher.doFinal(ByteBuffer input,
ByteBuffer output)
Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation.
protected int
CipherSpi.engineDoFinal(ByteBuffer input,
ByteBuffer output)
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
protected void
MacSpi.engineUpdate(ByteBuffer input)
Processes input.remaining() bytes in the ByteBuffer
input, starting at input.position().
protected int
CipherSpi.engineUpdate(ByteBuffer input,
ByteBuffer output)
Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
void
Mac.update(ByteBuffer input)
Processes input.remaining() bytes in the ByteBuffer
input, starting at input.position().
int
Cipher.update(ByteBuffer input,
ByteBuffer output)
Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
SSLEngine.unwrap(ByteBuffer src,
ByteBuffer[] dsts,
int offset,
int length)
Attempts to decode SSL/TLS network data into a subsequence of
plaintext application data buffers.
SSLEngine.unwrap(ByteBuffer src,
ByteBuffer[] dsts,
int offset,
int length)
Attempts to decode SSL/TLS network data into a subsequence of
plaintext application data buffers.
SSLEngine.wrap(ByteBuffer[] srcs,
int offset,
int length,
ByteBuffer dst)
Attempts to encode plaintext bytes from a subsequence of data
buffers into SSL/TLS network data.
SSLEngine.wrap(ByteBuffer[] srcs,
int offset,
int length,
ByteBuffer dst)
Attempts to encode plaintext bytes from a subsequence of data
buffers into SSL/TLS network data.
Submit a bug or feature For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.