Uses of Class java.nio.ByteBuffer

Uses in package java.security

Methods with parameter type java.nio.ByteBuffer

Class
Creates a class using an ByteBuffer and a CodeSource.
void
Updates this digest with the remaining bytes of a byte buffer.
void
Update this signature with the Buffer.remaining() bytes of the given buffer.
void
Updates the digest with the remaining bytes of a buffer.
void
Update this signature with the Buffer.remaining() bytes of the input buffer.

Uses in package java.nio.charset

Methods with parameter type java.nio.ByteBuffer

CharBuffer
CharBuffer
CoderResult
CharsetDecoder.decode(ByteBuffer in, CharBuffer out, boolean endOfInput)
CoderResult
CoderResult
CharsetEncoder.encode(CharBuffer in, ByteBuffer out, boolean endOfInput)
CoderResult
CoderResult
CoderResult

Methods with return type java.nio.ByteBuffer

ByteBuffer
ByteBuffer
ByteBuffer

Uses in package gnu.classpath.jdwp.processor

Methods with parameter type java.nio.ByteBuffer

void
void
void
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
There are no commands for this CommandSet at this time so we just throw a NotImplementedException whenever it's called.
boolean
There are no commands for this CommandSet at this time so we just throw a NotImplementedException whenever it's called.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean
boolean
boolean
Runs the given command with the data in distr and writes the data for the reply packet to ostr.
boolean

Uses in package java.nio.channels

Methods with parameter type java.nio.ByteBuffer

int
Reads data from this channel.
int
Reads data from the channel.
int
Reads a sequence of bytes from this channel into the given buffer
int
Reads data from the channel.
int
FileChannel.read(ByteBuffer dst, long position)
Reads data from the channel.
long
Reads data from this channel.
long
Reads data from the channel.
long
Reads a sequence of bytes from this channel into the given buffers
long
Reads data from the channel.
long
DatagramChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from this channel.
long
FileChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from the channel.
long
ScatteringByteChannel.read(ByteBuffer[] srcs, int offset, int length)
Reads a sequence of bytes from this channel into a subsequence of the given buffers
long
SocketChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from the channel.
SocketAddress
Receives a datagram via this channel.
int
Sends a datagram via this channel.
int
Writes data to this channel.
int
Writes data to the channel.
int
Writes data to the channel.
int
Writes a sequence of bytes to this channel from the given buffer
int
FileChannel.write(ByteBuffer srcs, long position)
Writes data to the channel.
long
Writes data to this channel.
long
Writes data to the channel.
long
Writes a sequence of bytes to this channel from the given buffers
long
Writes data to the channel.
long
DatagramChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to this channel.
long
FileChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to the 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
long
SocketChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to the channel.

Uses in package gnu.java.security.util

Methods with return type java.nio.ByteBuffer

ByteBuffer
Get the current state of the buffer.

Uses in package gnu.javax.net.ssl.provider

Constructors with parameter type java.nio.ByteBuffer

Fields of type java.nio.ByteBuffer

ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
The currently-read handshake messages.

Methods with parameter type java.nio.ByteBuffer

@Override
@Override
SSLEngineImpl.SSLEngineResult unwrap(ByteBuffer source, ByteBuffer[] sinks, int offset, int length)
@Override
SSLEngineImpl.SSLEngineResult wrap(ByteBuffer[] sources, int offset, int length, ByteBuffer sink)
int
InputSecurityParameters.decrypt(Record record, ByteBuffer[] output, int offset, int length)
Decrypt a record, storing the decrypted fragment into the given array of byte buffers.
int[]
OutputSecurityParameters.encrypt(ByteBuffer[] input, int offset, int length, ContentType contentType, ByteBuffer output)
Encrypt a record, storing the result in the given output buffer.
int
Get the fragment content, storing it into sink.
SSLEngineResult.HandshakeStatus
Handles the next input message in the handshake.
SSLEngineResult.HandshakeStatus
Produce more handshake output.
String
String
Util.hexDump(ByteBuffer buf, String prefix)
SSLEngineResult.HandshakeStatus
Called to implement the underlying output handling.
boolean
Attempt to read the next handshake message from the given record.
void
void
void
void
void
void
Object
Object
Util.wrapBuffer(ByteBuffer buffer, String prefix)

Methods with return type java.nio.ByteBuffer

ByteBuffer
Returns a subsequence of the underlying buffer, containing only the bytes that compose the handshake body.
ByteBuffer
Returns the final buffer, possibly containing the built object.
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
Returns the final buffer, possibly containing the built object.
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
ByteBuffer
Returns the final buffer, possibly containing the built object.
ByteBuffer
ByteBuffer
Returns the fragment field as a ByteBuffer.
ByteBuffer
Generate a "finished" message.
ByteBuffer
ByteBuffer
ByteBuffer

Uses in package gnu.java.awt.font

Methods with parameter type java.nio.ByteBuffer

FontDelegate[]
Creates FontDelegate objects for the fonts in the specified buffer.

Uses in package gnu.classpath.jdwp.util

Constructors with parameter type java.nio.ByteBuffer

Read a location from the given bytebuffer, consists of a TAG (byte), followed by a ReferenceTypeId, a MethodId and an index (long).

Methods with parameter type java.nio.ByteBuffer

String
Read a jdwp style string from the ByteBuffer.

Uses in package gnu.java.nio.channels

Methods with parameter type java.nio.ByteBuffer

int
int
FileChannelImpl.read(ByteBuffer dst, long position)
long
FileChannelImpl.read(ByteBuffer[] dsts, int offset, int length)
int
int
FileChannelImpl.write(ByteBuffer src, long position)
long
FileChannelImpl.write(ByteBuffer[] srcs, int offset, int length)

Uses in package gnu.java.awt.font.opentype.truetype

Constructors with parameter type java.nio.ByteBuffer

TrueTypeScaler.TrueTypeScaler(int unitsPerEm, ByteBuffer hhea, ByteBuffer htmx, ByteBuffer vhea, ByteBuffer vtmx, ByteBuffer maxp, ByteBuffer controlValueTable, ByteBuffer fpgm, int locaFormat, ByteBuffer loca, ByteBuffer glyf, ByteBuffer preProgram)
Constructs a new TrueTypeScaler.

Uses in package gnu.classpath.jdwp.value

Methods with parameter type java.nio.ByteBuffer

Value
Creates a new Value of appropriate type for the value in the ByteBuffer by reading the tag byte from the front of the buffer.
Value
Creates a new Value of appropriate type for the value in the ByteBuffer by checking the type of the Class passed in.
Object
Get an untagged object from the ByteBuffer
Object
Get an untagged object from the ByteBuffer

Uses in package java.lang

Methods with parameter type java.nio.ByteBuffer

Class
Helper to define a class using the contents of a byte buffer.

Uses in package gnu.java.nio

Methods with parameter type java.nio.ByteBuffer

int
Reads data from this channel.
int
int
int
int
int
int
FileChannelImpl.read(ByteBuffer dst, long position)
long
long
DatagramChannelImpl.read(ByteBuffer[] dsts, int offset, int length)
Reads data from this channel.
long
FileChannelImpl.read(ByteBuffer[] dsts, int offset, int length)
long
PipeImpl.SourceChannelImpl.read(ByteBuffer[] srcs, int offset, int len)
long
SocketChannelImpl.read(ByteBuffer[] dsts, int offset, int length)
long
VMChannel.readScattering(ByteBuffer[] dsts, int offset, int length)
SocketAddress
Receives a datagram via this channel.
int
Sends a datagram via this channel.
int
Writes data to this channel.
int
int
int
Writes a sequence of bytes to this channel from the given buffer
int
int
int
FileChannelImpl.write(ByteBuffer src, long position)
long
Writes a sequence of bytes to this channel from the given buffers
long
DatagramChannelImpl.write(ByteBuffer[] srcs, int offset, int length)
Writes data to this channel.
long
FileChannelImpl.write(ByteBuffer[] srcs, int offset, int length)
Writes a sequence of bytes to this channel from a subsequence of the given buffers
long
PipeImpl.SinkChannelImpl.write(ByteBuffer[] srcs, int offset, int len)
Writes a sequence of bytes to this channel from a subsequence of the given buffers
long
SocketChannelImpl.write(ByteBuffer[] srcs, int offset, int length)
long
VMChannel.writeGathering(ByteBuffer[] srcs, int offset, int length)

Uses in package gnu.javax.net.ssl

Methods with parameter type java.nio.ByteBuffer

void
void
Handle an SSL record layer message, encapsulated in the supplied input buffer, and writing any output bytes to the output buffer.

Uses in package gnu.classpath.jdwp

Methods with parameter type java.nio.ByteBuffer

VMMethod
Returns a VMMethod from the ID in the byte buffer
ObjectId
ReferenceTypeId

Uses in package javax.crypto

Methods with parameter type java.nio.ByteBuffer

int
Finishes a multi-part transformation with, or completely transforms, a byte buffer, and stores the result into the output buffer.
int
void
Update this MAC with the remaining bytes of a buffer.
int
void
Update this MAC with the remaining bytes in the given buffer
int
Continue a multi-part transformation on a byte buffer, storing the transformed bytes into another buffer.

Uses in package java.nio

Classes derived from java.nio.ByteBuffer

class

Methods with parameter type java.nio.ByteBuffer

int
Compares two ByteBuffer objects.
ByteBuffer
Writes the content of the the ByteBUFFER src into the buffer.

Methods with return type java.nio.ByteBuffer

ByteBuffer
ByteBuffer.allocate(int capacity)
Allocates a new ByteBuffer object with a given capacity.
ByteBuffer
ByteBuffer.allocateDirect(int capacity)
Allocates a new direct byte buffer.
ByteBuffer
Creates a new read-only ByteBuffer that shares this buffer's content.
ByteBuffer
Compacts this buffer.
ByteBuffer
Creates a new ByteBuffer that shares this buffer's content.
ByteBuffer
ByteBuffer.get(byte[] dst)
This method transfers bytes from this buffer into the given destination array.
ByteBuffer
ByteBuffer.get(byte[] dst, int offset, int length)
This method transfers bytes from this buffer into the given destination array.
ByteBuffer
Modifies this buffer's byte order.
ByteBuffer
ByteBuffer.put(byte b)
Writes the byte at this buffer's current position, and then increments the position.
ByteBuffer
ByteBuffer.put(byte[] src)
Writes the content of the the byte array src into the buffer.
ByteBuffer
ByteBuffer.put(byte[] src, int offset, int length)
Writes the content of the the byte array src into the buffer.
ByteBuffer
ByteBuffer.put(int index, byte b)
Absolute put method.
ByteBuffer
Writes the content of the the ByteBUFFER src into the buffer.
ByteBuffer
ByteBuffer.putChar(char value)
Relative put method for writing a character value.
ByteBuffer
ByteBuffer.putChar(int index, char value)
Absolute put method for writing a character value.
ByteBuffer
ByteBuffer.putDouble(double value)
Relative put method for writing a double value.
ByteBuffer
ByteBuffer.putDouble(int index, double value)
Absolute put method for writing a double value.
ByteBuffer
ByteBuffer.putFloat(float value)
Relative put method for writing a float value.
ByteBuffer
ByteBuffer.putFloat(int index, float value)
Relative put method for writing a float value.
ByteBuffer
ByteBuffer.putInt(int value)
Relative put method for writing an integer value.
ByteBuffer
ByteBuffer.putInt(int index, int value)
Absolute put method for writing an integer value.
ByteBuffer
ByteBuffer.putLong(int index, long value)
Absolute put method for writing a float value.
ByteBuffer
ByteBuffer.putLong(long value)
Relative put method for writing a long value.
ByteBuffer
ByteBuffer.putShort(int index, short value)
Absolute put method for writing a short value.
ByteBuffer
ByteBuffer.putShort(short value)
Relative put method for writing a short value.
ByteBuffer
Creates a new ByteBuffer whose content is a shared subsequence of this buffer's content.
ByteBuffer
ByteBuffer.wrap(byte[] array)
Wraps a byte array into a ByteBuffer object.
ByteBuffer
ByteBuffer.wrap(byte[] array, int offset, int length)
Wraps a byte array into a ByteBuffer object.

Uses in package gnu.java.awt.font.opentype

Methods with parameter type java.nio.ByteBuffer

FontDelegate[]
Creates FontDelegate objects for the fonts in the specified buffer.
CharGlyphMap
Reads a CharGlyphMap from an OpenType or TrueType cmap table.
String
NameDecoder.getName(ByteBuffer nameTable, int name, Locale locale)

Methods with return type java.nio.ByteBuffer

ByteBuffer
Retrieves the content of the resource.
ByteBuffer
Creates a view buffer for an OpenType table.

Uses in package javax.net.ssl

Methods with parameter type java.nio.ByteBuffer

SSLEngineResult
Unwraps a byte buffer recieved from the network, storing the decrypted, unwrapped bytes into the given buffer.
SSLEngineResult
Unwraps a byte buffer recieved from the network, storing the decrypted, unwrapped bytes into the given buffers.
SSLEngineResult
SSLEngine.unwrap(ByteBuffer source, ByteBuffer[] sinks, int offset, int length)
Unwraps a byte buffer received from the network, storing the decrypted, unwrapped bytes into the given buffers.
SSLEngineResult
Wraps a byte buffer into an SSL message, for preparation to send it over the network.
SSLEngineResult
SSLEngine.wrap(ByteBuffer[] sources, int offset, int length, ByteBuffer sink)
Wraps byte buffers into an SSL message, for preparation to send them over the network.
SSLEngineResult
SSLEngine.wrap(ByteBuffer[] sources, ByteBuffer sink)
Wraps byte buffers into an SSL message, for preparation to send them over the network.