- getArray() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Get the backing array.
- getArray() - Method in interface io.pkts.buffer.Buffer
-
Get the backing array.
- getArray() - Method in class io.pkts.buffer.ByteBuffer
-
Get the backing array.
- getArray() - Method in class io.pkts.buffer.EmptyBuffer
-
Get the backing array.
- getArray() - Method in class io.pkts.buffer.InputStreamBuffer
-
Get the backing array.
- getBit(int, int) - Method in interface io.pkts.buffer.Buffer
-
Check whether a particular bit within a byte is on or off.
- getBit0(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit1(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit2(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit3(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit4(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit5(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit6(int) - Method in interface io.pkts.buffer.Buffer
-
- getBit7(int) - Method in interface io.pkts.buffer.Buffer
-
- getByes(byte[]) - Method in interface io.pkts.buffer.Buffer
-
- getByte(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Get the byte at the index.
- getByte(long) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getByte(int) - Method in interface io.pkts.buffer.Buffer
-
Get the byte at the index.
- getByte(int) - Method in class io.pkts.buffer.ByteBuffer
-
Get the byte at the index.
- getByte() - Method in exception io.pkts.buffer.ByteNotFoundException
-
The byte that the user search for but we couldn't find.
- getByte(int) - Method in class io.pkts.buffer.EmptyBuffer
-
Get the byte at the index.
- getByte(int) - Method in class io.pkts.buffer.InputStreamBuffer
-
Get the byte at the index.
- getBytes(Buffer) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getBytes(byte[]) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getBytes(int, Buffer) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getBytes(Buffer) - Method in interface io.pkts.buffer.Buffer
-
- getBytes(int, Buffer) - Method in interface io.pkts.buffer.Buffer
-
Transfer this buffer's data to the destination buffer.
- getBytes(byte[]) - Method in interface io.pkts.buffer.Buffer
-
- getBytes(int, int, byte[]) - Static method in class io.pkts.buffer.Buffers
-
Copied straight from the Integer class but modified to return bytes instead.
- getBytes(long, int, byte[]) - Static method in class io.pkts.buffer.Buffers
-
Copied straight from the Long class but modified to return bytes instead.
- getBytes(Buffer) - Method in class io.pkts.buffer.ByteBuffer
-
- getBytes(int, Buffer) - Method in class io.pkts.buffer.ByteBuffer
-
- getBytes(byte[]) - Method in class io.pkts.buffer.ByteBuffer
-
- getBytes(int, ByteBuffer) - Method in class io.pkts.buffer.ByteBuffer
-
- getBytes() - Method in exception io.pkts.buffer.ByteNotFoundException
-
The bytes that the user search for but we couldn't find.
- getBytes(Buffer) - Method in class io.pkts.buffer.EmptyBuffer
-
- getBytes(byte[]) - Method in class io.pkts.buffer.EmptyBuffer
-
- getBytes(int, Buffer) - Method in class io.pkts.buffer.EmptyBuffer
-
- getBytes() - Method in class io.pkts.buffer.InputStreamBuffer
-
- getBytes(Buffer) - Method in class io.pkts.buffer.InputStreamBuffer
-
- getBytes(byte[]) - Method in class io.pkts.buffer.InputStreamBuffer
-
- getBytes(int, Buffer) - Method in class io.pkts.buffer.InputStreamBuffer
-
- getIndex() - Method in exception io.pkts.buffer.BufferOutOfBoundsException
-
- getInt(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Get a 32-bit integer at the specified absolute index.
- getInt(int) - Method in interface io.pkts.buffer.Buffer
-
Get a 32-bit integer at the specified absolute index.
- getInt(int) - Method in class io.pkts.buffer.ByteBuffer
-
Get a 32-bit integer at the specified absolute index.
- getInt(int) - Method in class io.pkts.buffer.EmptyBuffer
-
Get a 32-bit integer at the specified absolute index.
- getInt(int) - Method in class io.pkts.buffer.InputStreamBuffer
-
Get a 32-bit integer at the specified absolute index.
- getLowerBoundary() - Method in class io.pkts.buffer.AbstractBuffer
-
- getLowerBoundary() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getLowerBoundary() - Method in interface io.pkts.buffer.Buffer
-
- getLowerBoundary() - Method in class io.pkts.buffer.EmptyBuffer
-
- getRawArray() - Method in interface io.pkts.buffer.Buffer
-
- getRawArray() - Method in class io.pkts.buffer.ByteBuffer
-
- getReadableBytes() - Method in class io.pkts.buffer.AbstractBuffer
-
Returns the number of available bytes for reading without blocking.
- getReadableBytes() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Returns the number of available bytes for reading without blocking.
- getReadableBytes() - Method in interface io.pkts.buffer.Buffer
-
Returns the number of available bytes for reading without blocking.
- getReadableBytes() - Method in class io.pkts.buffer.EmptyBuffer
-
Returns the number of available bytes for reading without blocking.
- getReadableBytes() - Method in class io.pkts.buffer.InputStreamBuffer
-
Returns the number of available bytes for reading without blocking.
- getReaderIndex() - Method in class io.pkts.buffer.AbstractBuffer
-
The reader index
- getReaderIndex() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getReaderIndex() - Method in interface io.pkts.buffer.Buffer
-
The reader index
- getReaderIndex() - Method in class io.pkts.buffer.EmptyBuffer
-
The reader index
- getShort(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- getShort(int) - Method in interface io.pkts.buffer.Buffer
-
- getShort(int) - Method in class io.pkts.buffer.ByteBuffer
- getShort(int) - Method in class io.pkts.buffer.EmptyBuffer
- getShort(int) - Method in class io.pkts.buffer.InputStreamBuffer
- getUnsignedByte(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- getUnsignedByte(int) - Method in interface io.pkts.buffer.Buffer
-
- getUnsignedByte(int) - Method in class io.pkts.buffer.ByteBuffer
- getUnsignedByte(int) - Method in class io.pkts.buffer.EmptyBuffer
- getUnsignedByte(int) - Method in class io.pkts.buffer.InputStreamBuffer
- getUnsignedInt(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- getUnsignedInt(int) - Method in interface io.pkts.buffer.Buffer
-
- getUnsignedInt(int) - Method in class io.pkts.buffer.ByteBuffer
-
- getUnsignedInt(int) - Method in class io.pkts.buffer.EmptyBuffer
- getUnsignedInt(int) - Method in class io.pkts.buffer.InputStreamBuffer
- getUnsignedShort(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- getUnsignedShort(int) - Method in interface io.pkts.buffer.Buffer
-
- getUnsignedShort(int) - Method in class io.pkts.buffer.ByteBuffer
- getUnsignedShort(int) - Method in class io.pkts.buffer.EmptyBuffer
- getUnsignedShort(int) - Method in class io.pkts.buffer.InputStreamBuffer
- getUpperBoundary() - Method in class io.pkts.buffer.AbstractBuffer
-
- getUpperBoundary() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getUpperBoundary() - Method in interface io.pkts.buffer.Buffer
-
- getUpperBoundary() - Method in class io.pkts.buffer.EmptyBuffer
-
- getWritableBytes() - Method in class io.pkts.buffer.AbstractBuffer
-
- getWritableBytes() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getWritableBytes() - Method in interface io.pkts.buffer.Buffer
-
Get the number of writable bytes.
- getWritableBytes() - Method in class io.pkts.buffer.EmptyBuffer
-
- getWritableBytes() - Method in class io.pkts.buffer.InputStreamBuffer
-
- getWriterIndex() - Method in class io.pkts.buffer.AbstractBuffer
-
- getWriterIndex() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- getWriterIndex() - Method in interface io.pkts.buffer.Buffer
-
The writer index.
- getWriterIndex() - Method in class io.pkts.buffer.EmptyBuffer
-
- readByte() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Read the next byte, which will also increase the readerIndex by one.
- readByte() - Method in interface io.pkts.buffer.Buffer
-
Read the next byte, which will also increase the readerIndex by one.
- readByte() - Method in class io.pkts.buffer.ByteBuffer
-
Read the next byte, which will also increase the readerIndex by one.
- readByte() - Method in class io.pkts.buffer.EmptyBuffer
-
Read the next byte, which will also increase the readerIndex by one.
- readByte() - Method in class io.pkts.buffer.InputStreamBuffer
-
Read the next byte, which will also increase the readerIndex by one.
- readBytes(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Read the requested number of bytes and increase the readerIndex with the
corresponding number of bytes.
- readBytes(int) - Method in interface io.pkts.buffer.Buffer
-
Read the requested number of bytes and increase the readerIndex with the
corresponding number of bytes.
- readBytes(int) - Method in class io.pkts.buffer.ByteBuffer
-
Read the requested number of bytes and increase the readerIndex with the
corresponding number of bytes.
- readBytes(int) - Method in class io.pkts.buffer.EmptyBuffer
-
Read the requested number of bytes and increase the readerIndex with the
corresponding number of bytes.
- readBytes(int) - Method in class io.pkts.buffer.InputStreamBuffer
-
Read the requested number of bytes and increase the readerIndex with the
corresponding number of bytes.
- readerIndex - Variable in class io.pkts.buffer.AbstractBuffer
-
From where we will continue reading
- readExternal(ObjectInput) - Method in class io.pkts.buffer.ByteBuffer
-
- readInt() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Read an int and will increase the reader index of this buffer by 4
- readInt() - Method in interface io.pkts.buffer.Buffer
-
Read an int and will increase the reader index of this buffer by 4
- readInt() - Method in class io.pkts.buffer.ByteBuffer
-
Read an int and will increase the reader index of this buffer by 4
- readInt() - Method in class io.pkts.buffer.EmptyBuffer
-
Read an int and will increase the reader index of this buffer by 4
- readInt() - Method in class io.pkts.buffer.InputStreamBuffer
-
Read an int and will increase the reader index of this buffer by 4
- readLine() - Method in class io.pkts.buffer.BaseBuffer
-
Reads a line, i.e., it reads until we hit a line feed ('\n') or a
carriage return ('\r'), or a carriage return followed immediately by a
line feed.
- readLine() - Method in interface io.pkts.buffer.Buffer
-
Reads a line, i.e., it reads until we hit a line feed ('\n') or a
carriage return ('\r'), or a carriage return followed immediately by a
line feed.
- readLine() - Method in class io.pkts.buffer.EmptyBuffer
-
Reads a line, i.e., it reads until we hit a line feed ('\n') or a
carriage return ('\r'), or a carriage return followed immediately by a
line feed.
- readShort() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- readShort() - Method in interface io.pkts.buffer.Buffer
-
- readShort() - Method in class io.pkts.buffer.ByteBuffer
- readShort() - Method in class io.pkts.buffer.EmptyBuffer
- readShort() - Method in class io.pkts.buffer.InputStreamBuffer
- readUnsignedByte() - Method in class io.pkts.buffer.AbstractBuffer
- readUnsignedByte() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- readUnsignedByte() - Method in interface io.pkts.buffer.Buffer
-
- readUnsignedByte() - Method in class io.pkts.buffer.EmptyBuffer
- readUnsignedInt() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Read an unsigned int and will increase the reader index of this buffer by
4
- readUnsignedInt() - Method in interface io.pkts.buffer.Buffer
-
Read an unsigned int and will increase the reader index of this buffer by
4
- readUnsignedInt() - Method in class io.pkts.buffer.ByteBuffer
-
Read an unsigned int and will increase the reader index of this buffer by
4
- readUnsignedInt() - Method in class io.pkts.buffer.EmptyBuffer
-
Read an unsigned int and will increase the reader index of this buffer by
4
- readUnsignedInt() - Method in class io.pkts.buffer.InputStreamBuffer
-
Read an unsigned int and will increase the reader index of this buffer by
4
- readUnsignedShort() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
- readUnsignedShort() - Method in interface io.pkts.buffer.Buffer
-
- readUnsignedShort() - Method in class io.pkts.buffer.ByteBuffer
- readUnsignedShort() - Method in class io.pkts.buffer.EmptyBuffer
- readUnsignedShort() - Method in class io.pkts.buffer.InputStreamBuffer
- readUntil(byte) - Method in class io.pkts.buffer.BaseBuffer
-
Same as #readUntil(4096, 'b')
Read until the specified byte is encountered and return a buffer
representing that section of the buffer.
- readUntil(int, byte...) - Method in class io.pkts.buffer.BaseBuffer
-
Read until any of the specified bytes have been encountered or until we
have read a maximum amount of bytes.
- readUntil(byte) - Method in interface io.pkts.buffer.Buffer
-
Same as #readUntil(4096, 'b')
Read until the specified byte is encountered and return a buffer
representing that section of the buffer.
- readUntil(int, byte...) - Method in interface io.pkts.buffer.Buffer
-
Read until any of the specified bytes have been encountered or until we
have read a maximum amount of bytes.
- readUntil(byte) - Method in class io.pkts.buffer.EmptyBuffer
-
Same as #readUntil(4096, 'b')
Read until the specified byte is encountered and return a buffer
representing that section of the buffer.
- readUntil(int, byte...) - Method in class io.pkts.buffer.EmptyBuffer
-
- readUntilDoubleCRLF() - Method in class io.pkts.buffer.BaseBuffer
-
- readUntilDoubleCRLF() - Method in interface io.pkts.buffer.Buffer
-
Read until we find a double CRLF.
- readUntilDoubleCRLF() - Method in class io.pkts.buffer.EmptyBuffer
-
- readUntilSafe(int, byte...) - Method in class io.pkts.buffer.BaseBuffer
-
- readUntilSafe(int, byte...) - Method in interface io.pkts.buffer.Buffer
-
- readUntilSafe(int, byte...) - Method in class io.pkts.buffer.EmptyBuffer
-
- readUntilSingleCRLF() - Method in class io.pkts.buffer.BaseBuffer
-
Read until we find a single CRLF.
- readUntilSingleCRLF() - Method in interface io.pkts.buffer.Buffer
-
Read until we find a single CRLF.
- readUntilSingleCRLF() - Method in class io.pkts.buffer.EmptyBuffer
-
- resetReaderIndex() - Method in class io.pkts.buffer.AbstractBuffer
-
Reset the reader index to the marked position or to the beginning of the
buffer if mark hasn't explicitly been called.
- resetReaderIndex() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- resetReaderIndex() - Method in interface io.pkts.buffer.Buffer
-
Reset the reader index to the marked position or to the beginning of the
buffer if mark hasn't explicitly been called.
- resetReaderIndex() - Method in class io.pkts.buffer.EmptyBuffer
-
Reset the reader index to the marked position or to the beginning of the
buffer if mark hasn't explicitly been called.
- setByte(int, byte) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Set the byte at given index to a new value
- setByte(int, byte) - Method in interface io.pkts.buffer.Buffer
-
Set the byte at given index to a new value
- setByte(int, byte) - Method in class io.pkts.buffer.ByteBuffer
-
Set the byte at given index to a new value
- setByte(int, byte) - Method in class io.pkts.buffer.EmptyBuffer
-
Set the byte at given index to a new value
- setByte(int, byte) - Method in class io.pkts.buffer.InputStreamBuffer
-
Set the byte at given index to a new value
- setInt(int, int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setInt(int, int) - Method in interface io.pkts.buffer.Buffer
-
- setInt(int, int) - Method in class io.pkts.buffer.ByteBuffer
-
- setInt(int, int) - Method in class io.pkts.buffer.EmptyBuffer
-
- setInt(int, int) - Method in class io.pkts.buffer.InputStreamBuffer
-
- setReaderIndex(int) - Method in class io.pkts.buffer.AbstractBuffer
-
- setReaderIndex(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setReaderIndex(int) - Method in interface io.pkts.buffer.Buffer
-
- setReaderIndex(int) - Method in class io.pkts.buffer.EmptyBuffer
-
- setUnsignedByte(int, short) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setUnsignedByte(int, short) - Method in interface io.pkts.buffer.Buffer
-
- setUnsignedByte(int, short) - Method in class io.pkts.buffer.ByteBuffer
- setUnsignedByte(int, short) - Method in class io.pkts.buffer.EmptyBuffer
-
- setUnsignedByte(int, short) - Method in class io.pkts.buffer.InputStreamBuffer
-
- setUnsignedInt(int, long) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setUnsignedInt(int, long) - Method in interface io.pkts.buffer.Buffer
-
- setUnsignedInt(int, long) - Method in class io.pkts.buffer.ByteBuffer
-
- setUnsignedInt(int, long) - Method in class io.pkts.buffer.EmptyBuffer
-
- setUnsignedInt(int, long) - Method in class io.pkts.buffer.InputStreamBuffer
-
- setUnsignedShort(int, int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setUnsignedShort(int, int) - Method in interface io.pkts.buffer.Buffer
-
- setUnsignedShort(int, int) - Method in class io.pkts.buffer.ByteBuffer
-
- setUnsignedShort(int, int) - Method in class io.pkts.buffer.EmptyBuffer
-
- setUnsignedShort(int, int) - Method in class io.pkts.buffer.InputStreamBuffer
-
- setWriterIndex(int) - Method in class io.pkts.buffer.AbstractBuffer
-
- setWriterIndex(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- setWriterIndex(int) - Method in interface io.pkts.buffer.Buffer
-
- setWriterIndex(int) - Method in class io.pkts.buffer.EmptyBuffer
-
- slice(int) - Method in class io.pkts.buffer.AbstractBuffer
-
Same as #slice(Buffer.getReaderIndex(), int)
- slice() - Method in class io.pkts.buffer.AbstractBuffer
-
- slice(int, int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
Get a slice of the buffer starting at start (inclusive)
ending at stop (exclusive).
- slice(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- slice() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
-
- slice(int, int) - Method in interface io.pkts.buffer.Buffer
-
Get a slice of the buffer starting at start (inclusive)
ending at stop (exclusive).
- slice(int) - Method in interface io.pkts.buffer.Buffer
-
Same as #slice(Buffer.getReaderIndex(), int)
- slice() - Method in interface io.pkts.buffer.Buffer
-
Slice off the rest of the buffer.
- slice(int, int) - Method in class io.pkts.buffer.ByteBuffer
-
Get a slice of the buffer starting at start (inclusive)
ending at stop (exclusive).
- slice(int, int) - Method in class io.pkts.buffer.EmptyBuffer
-
Get a slice of the buffer starting at start (inclusive)
ending at stop (exclusive).
- slice(int) - Method in class io.pkts.buffer.EmptyBuffer
-
Same as #slice(Buffer.getReaderIndex(), int)
- slice() - Method in class io.pkts.buffer.EmptyBuffer
-
Slice off the rest of the buffer.
- slice(int, int) - Method in class io.pkts.buffer.InputStreamBuffer
-
Get a slice of the buffer starting at start (inclusive)
ending at stop (exclusive).
- stringSize(int) - Static method in class io.pkts.buffer.Buffers
-
- stringSize(long) - Static method in class io.pkts.buffer.Buffers
-
- stringSizeOf(int) - Static method in class io.pkts.buffer.Buffers
-
Find out how many characters it would take to represent the value as a string.
- stringSizeOf(long) - Static method in class io.pkts.buffer.Buffers
-
Find out how many characters it would take to represent the value as a string.