Skip navigation links
A B C D E G H I L M P R S T U W 

A

AbstractBuffer - Class in io.pkts.buffer
 
AbstractBuffer(int, int, int, int) - Constructor for class io.pkts.buffer.AbstractBuffer
 
assertNotEmpty(Buffer) - Static method in class io.pkts.buffer.Buffers
 
assertNotEmpty(Buffer, String) - Static method in class io.pkts.buffer.Buffers
 

B

BaseBuffer - Class in io.pkts.buffer
Abstract abstract buffer :-)
BaseBuffer() - Constructor for class io.pkts.buffer.BaseBuffer
 
BoundedInputStreamBuffer - Class in io.pkts.buffer
 
BoundedInputStreamBuffer(InputStream) - Constructor for class io.pkts.buffer.BoundedInputStreamBuffer
 
BoundedInputStreamBuffer(int, InputStream) - Constructor for class io.pkts.buffer.BoundedInputStreamBuffer
 
Buffer - Interface in io.pkts.buffer
Yet another buffer class! Kind of the same as the awesome classes in netty.io but currently the buffer classes in netty are a little too tied into the rest of the netty stack.
buffer - Variable in class io.pkts.buffer.ByteBuffer
The actual buffer
BufferException - Exception in io.pkts.buffer
Base class for all exceptions thrown by a buffer
BufferException() - Constructor for exception io.pkts.buffer.BufferException
 
BufferException(String) - Constructor for exception io.pkts.buffer.BufferException
 
BufferException(Throwable) - Constructor for exception io.pkts.buffer.BufferException
 
BufferException(String, Throwable) - Constructor for exception io.pkts.buffer.BufferException
 
BufferOutOfBoundsException - Exception in io.pkts.buffer
 
BufferOutOfBoundsException(int) - Constructor for exception io.pkts.buffer.BufferOutOfBoundsException
 
BufferOutOfBoundsException(int, String) - Constructor for exception io.pkts.buffer.BufferOutOfBoundsException
 
Buffers - Class in io.pkts.buffer
 
ByteBuffer - Class in io.pkts.buffer
A buffer directly backed by a byte-array
ByteBuffer(byte[]) - Constructor for class io.pkts.buffer.ByteBuffer
 
ByteBuffer(int, int, int, byte[]) - Constructor for class io.pkts.buffer.ByteBuffer
 
ByteBuffer(int, int, int, int, byte[]) - Constructor for class io.pkts.buffer.ByteBuffer
 
ByteNotFoundException - Exception in io.pkts.buffer
Exception for readUntil-methods and the like
ByteNotFoundException(byte) - Constructor for exception io.pkts.buffer.ByteNotFoundException
 
ByteNotFoundException(byte...) - Constructor for exception io.pkts.buffer.ByteNotFoundException
 
ByteNotFoundException(int, byte...) - Constructor for exception io.pkts.buffer.ByteNotFoundException
 

C

capacity() - Method in class io.pkts.buffer.AbstractBuffer
The capacity of this buffer.
capacity() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
capacity() - Method in interface io.pkts.buffer.Buffer
The capacity of this buffer.
capacity() - Method in class io.pkts.buffer.EmptyBuffer
The capacity of this buffer.
checkIndex(int) - Method in class io.pkts.buffer.AbstractBuffer
Convenience method for checking if we can read at the index
checkIndex(int) - Method in class io.pkts.buffer.InputStreamBuffer
Convenience method for checking if we can get the byte at the specified index.
checkReadableBytes(int) - Method in class io.pkts.buffer.BaseBuffer
Convenience method for checking if we have enough readable bytes
checkReadableBytesSafe(int) - Method in class io.pkts.buffer.BaseBuffer
Convenience method for checking if we have enough readable bytes
checkWritableBytesSafe(int) - Method in class io.pkts.buffer.BaseBuffer
Check whether we have enough space for writing the desired length.
checkWriterIndex(int) - Method in class io.pkts.buffer.AbstractBuffer
Convenience method for checking whether we can write at the specified index.
clone() - Method in class io.pkts.buffer.AbstractBuffer
 
clone() - Method in class io.pkts.buffer.BaseBuffer
 
clone() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
clone() - Method in interface io.pkts.buffer.Buffer
Performs a deep clone of this object.
clone() - Method in class io.pkts.buffer.ByteBuffer
Performs a deep clone of this object.
clone() - Method in class io.pkts.buffer.EmptyBuffer
Really nothing to clone so just return this since this EmptyBuffer is by definition immutable.
clone() - Method in class io.pkts.buffer.InputStreamBuffer
 
com.google.polo.pairing - package com.google.polo.pairing
 
CR - Static variable in class io.pkts.buffer.BaseBuffer
 
createBuffer(int) - Static method in class io.pkts.buffer.Buffers
Create a new Buffer

D

DEFAULT_CAPACITY - Static variable in class io.pkts.buffer.BoundedInputStreamBuffer
The default capacity for each individual byte array, default to tcpdumps default snaplength.
dumpAsHex() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
Dump the content of this buffer as a hex dump ala Wireshark.
dumpAsHex() - Method in interface io.pkts.buffer.Buffer
Dump the content of this buffer as a hex dump ala Wireshark.
dumpAsHex() - Method in class io.pkts.buffer.ByteBuffer
Dump the content of this buffer as a hex dump ala Wireshark.
dumpAsHex() - Method in class io.pkts.buffer.EmptyBuffer
Dump the content of this buffer as a hex dump ala Wireshark.
dumpAsHex() - Method in class io.pkts.buffer.InputStreamBuffer
Dump the content of this buffer as a hex dump ala Wireshark.
dumpHexString(byte[]) - Static method in class com.google.polo.pairing.HexDump
 
dumpHexString(byte[], int, int) - Static method in class com.google.polo.pairing.HexDump
 

E

EMPTY_BUFFER - Static variable in class io.pkts.buffer.Buffers
An empty buffer.
EmptyBuffer - Class in io.pkts.buffer
Represents an empty buffer.
EmptyBuffer() - Constructor for class io.pkts.buffer.EmptyBuffer
 
equals(Object) - Method in class io.pkts.buffer.AbstractBuffer
 
equals(Object) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
Check whether to buffers are considered to be equal.
equals(Object) - Method in interface io.pkts.buffer.Buffer
Check whether to buffers are considered to be equal.
equals(Object) - Method in class io.pkts.buffer.ByteBuffer
Check whether to buffers are considered to be equal.
equals(Object) - Method in class io.pkts.buffer.InputStreamBuffer
Check whether to buffers are considered to be equal.
equalsIgnoreCase(Object) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
equalsIgnoreCase(Object) - Method in interface io.pkts.buffer.Buffer
 
equalsIgnoreCase(Object) - Method in class io.pkts.buffer.ByteBuffer
 
equalsIgnoreCase(Object) - Method in class io.pkts.buffer.EmptyBuffer
 
equalsIgnoreCase(Object) - Method in class io.pkts.buffer.InputStreamBuffer
 

G

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
Deprecated.
Please use Buffer.getBytes(byte[]) instead
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
Same as calling Buffer.getBytes(int, Buffer) where the index is Buffer.getReaderIndex().
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
If you access the Buffer.getRawArray() you will get just that.
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
See explanation in Buffer.getLowerBoundary() since this is the same, just the upper limit of that raw array.
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
 

H

hashCode() - Method in class io.pkts.buffer.AbstractBuffer
 
hashCode() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
hashCode() - Method in interface io.pkts.buffer.Buffer
 
hashCode() - Method in class io.pkts.buffer.ByteBuffer
hashCode() - Method in class io.pkts.buffer.InputStreamBuffer
hasReadableBytes() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
Checks whether this buffer has any bytes available for reading without blocking.
hasReadableBytes() - Method in interface io.pkts.buffer.Buffer
Checks whether this buffer has any bytes available for reading without blocking.
hasReadableBytes() - Method in class io.pkts.buffer.ByteBuffer
Checks whether this buffer has any bytes available for reading without blocking.
hasReadableBytes() - Method in class io.pkts.buffer.EmptyBuffer
Checks whether this buffer has any bytes available for reading without blocking.
hasReadableBytes() - Method in class io.pkts.buffer.InputStreamBuffer
Checks whether this buffer has any bytes available for reading without blocking.
hasWritableBytes() - Method in class io.pkts.buffer.BaseBuffer
 
hasWritableBytes() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
hasWritableBytes() - Method in interface io.pkts.buffer.Buffer
Checks whether this Buffer has any space left for writing.
hasWritableBytes() - Method in class io.pkts.buffer.EmptyBuffer
 
hasWritableBytes() - Method in class io.pkts.buffer.InputStreamBuffer
 
hasWriteSupport() - Method in class io.pkts.buffer.AbstractBuffer
The underlying subclass should override this if it has write support.
hasWriteSupport() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
hasWriteSupport() - Method in interface io.pkts.buffer.Buffer
Check whether this Buffer has write support or not.
hasWriteSupport() - Method in class io.pkts.buffer.ByteBuffer
 
hasWriteSupport() - Method in class io.pkts.buffer.EmptyBuffer
 
HexDump - Class in com.google.polo.pairing
 
HexDump() - Constructor for class com.google.polo.pairing.HexDump
 
hexStringToByteArray(String) - Static method in class com.google.polo.pairing.HexDump
 

I

indexOf(int, byte...) - Method in class io.pkts.buffer.BaseBuffer
Same as Buffer.readUntil(int, byte...) but instead of returning the buffer with everything up until the specified byte it returns the index instead.
indexOf(byte) - Method in class io.pkts.buffer.BaseBuffer
indexOf(int, byte...) - Method in interface io.pkts.buffer.Buffer
Same as Buffer.readUntil(int, byte...) but instead of returning the buffer with everything up until the specified byte it returns the index instead.
indexOf(byte) - Method in interface io.pkts.buffer.Buffer
 
indexOf(int, byte...) - Method in class io.pkts.buffer.EmptyBuffer
 
indexOf(byte) - Method in class io.pkts.buffer.EmptyBuffer
 
InputStreamBuffer - Class in io.pkts.buffer
 
InputStreamBuffer(InputStream) - Constructor for class io.pkts.buffer.InputStreamBuffer
 
InputStreamBuffer(int, InputStream) - Constructor for class io.pkts.buffer.InputStreamBuffer
 
io.pkts.buffer - package io.pkts.buffer
 
isByteInArray(byte, byte[]) - Static method in class io.pkts.buffer.BaseBuffer
 
isEmpty() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
Check whether this buffer is empty or not.
isEmpty() - Method in interface io.pkts.buffer.Buffer
Check whether this buffer is empty or not.
isEmpty() - Method in class io.pkts.buffer.ByteBuffer
Check whether this buffer is empty or not.
isEmpty() - Method in class io.pkts.buffer.EmptyBuffer
Check whether this buffer is empty or not.
isEmpty() - Method in class io.pkts.buffer.InputStreamBuffer
Check whether this buffer is empty or not.

L

LF - Static variable in class io.pkts.buffer.BaseBuffer
 
lowerBoundary - Variable in class io.pkts.buffer.AbstractBuffer
We will pretend that any bytes below this boundary doesn't exist.

M

markedReaderIndex - Variable in class io.pkts.buffer.AbstractBuffer
The position of the reader index that has been marked.
markReaderIndex() - Method in class io.pkts.buffer.AbstractBuffer
Mark the current position of the reader index.
markReaderIndex() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
markReaderIndex() - Method in interface io.pkts.buffer.Buffer
Mark the current position of the reader index.
markReaderIndex() - Method in class io.pkts.buffer.EmptyBuffer
Mark the current position of the reader index.

P

parseToInt() - Method in class io.pkts.buffer.BaseBuffer
 
parseToInt(int) - Method in class io.pkts.buffer.BaseBuffer
(Copied from the Integer class and slightly altered to read from this buffer instead of a String) Parses the string argument as a signed integer in the radix specified by the second argument.
parseToInt() - Method in interface io.pkts.buffer.Buffer
Parse all the readable bytes in this buffer as a unsigned integer value.
parseToInt(int) - Method in interface io.pkts.buffer.Buffer
Convert the entire buffer to a signed integer value
parseToInt() - Method in class io.pkts.buffer.EmptyBuffer
 
parseToInt(int) - Method in class io.pkts.buffer.EmptyBuffer
 
peekByte() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
Peak a head to see what the next byte is.
peekByte() - Method in interface io.pkts.buffer.Buffer
Peak a head to see what the next byte is.
peekByte() - Method in class io.pkts.buffer.ByteBuffer
Peak a head to see what the next byte is.
peekByte() - Method in class io.pkts.buffer.EmptyBuffer
 
peekByte() - Method in class io.pkts.buffer.InputStreamBuffer
Peak a head to see what the next byte is.

R

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
Same as Buffer.readUntil(int, byte...) but will return null instead of throwing a ByteNotFoundException
readUntilSafe(int, byte...) - Method in interface io.pkts.buffer.Buffer
Same as Buffer.readUntil(int, byte...) but will return null instead of throwing a ByteNotFoundException
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.

S

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.

T

toByteArray(byte) - Static method in class com.google.polo.pairing.HexDump
 
toByteArray(int) - Static method in class com.google.polo.pairing.HexDump
 
toHexString(byte) - Static method in class com.google.polo.pairing.HexDump
 
toHexString(byte[]) - Static method in class com.google.polo.pairing.HexDump
 
toHexString(byte[], int, int) - Static method in class com.google.polo.pairing.HexDump
 
toHexString(int) - Static method in class com.google.polo.pairing.HexDump
 
toString() - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
toString() - Method in interface io.pkts.buffer.Buffer
 
toString() - Method in class io.pkts.buffer.ByteBuffer
 
toString() - Method in class io.pkts.buffer.EmptyBuffer
toString() - Method in class io.pkts.buffer.InputStreamBuffer
 

U

unsignedInt(byte, byte, byte, byte) - Static method in interface io.pkts.buffer.Buffer
Helper method to "parse" out a unsigned int from the given 4 bytes.
unsignedInt(byte, byte, byte, byte) - Method in class io.pkts.buffer.ByteBuffer
 
upperBoundary - Variable in class io.pkts.buffer.AbstractBuffer
Any bytes above this boundary is not accessible to us

W

wrap(int) - Static method in class io.pkts.buffer.Buffers
Converts the integer value into a string and that is what is being wrapped in a Buffer
wrap(long) - Static method in class io.pkts.buffer.Buffers
 
wrap(String) - Static method in class io.pkts.buffer.Buffers
 
wrap(InputStream) - Static method in class io.pkts.buffer.Buffers
 
wrap(byte[]) - Static method in class io.pkts.buffer.Buffers
Wrap the supplied byte array
wrap(Buffer, Buffer) - Static method in class io.pkts.buffer.Buffers
Combine two buffers into one.
wrap(byte[], int, int) - Static method in class io.pkts.buffer.Buffers
Wrap the supplied byte array specifying the allowed range of visible bytes.
wrapAndClone(byte[]) - Static method in class io.pkts.buffer.Buffers
Same as Buffers.wrap(byte[]) but we will clone the byte array first.
write(byte) - Method in class io.pkts.buffer.AbstractBuffer
 
write(String) - Method in class io.pkts.buffer.AbstractBuffer
 
write(String, String) - Method in class io.pkts.buffer.AbstractBuffer
 
write(byte[]) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(long) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(byte) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(String) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(String, String) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
write(byte) - Method in interface io.pkts.buffer.Buffer
Write a byte to where the current writer index is pointing.
write(byte[]) - Method in interface io.pkts.buffer.Buffer
 
write(int) - Method in interface io.pkts.buffer.Buffer
 
write(long) - Method in interface io.pkts.buffer.Buffer
 
write(String) - Method in interface io.pkts.buffer.Buffer
Same as Buffer.write(String, String) where the charset is set to "UTF-8"
write(String, String) - Method in interface io.pkts.buffer.Buffer
Write a string to this buffer using the specified charset to convert the String into bytes.
write(byte) - Method in class io.pkts.buffer.ByteBuffer
 
write(byte[]) - Method in class io.pkts.buffer.ByteBuffer
 
write(String) - Method in class io.pkts.buffer.ByteBuffer
 
write(String, String) - Method in class io.pkts.buffer.ByteBuffer
 
write(int) - Method in class io.pkts.buffer.ByteBuffer
 
write(long) - Method in class io.pkts.buffer.ByteBuffer
 
write(byte) - Method in class io.pkts.buffer.EmptyBuffer
 
write(byte[]) - Method in class io.pkts.buffer.EmptyBuffer
 
write(String) - Method in class io.pkts.buffer.EmptyBuffer
 
write(String, String) - Method in class io.pkts.buffer.EmptyBuffer
 
write(int) - Method in class io.pkts.buffer.EmptyBuffer
 
write(long) - Method in class io.pkts.buffer.EmptyBuffer
 
write(byte[]) - Method in class io.pkts.buffer.InputStreamBuffer
 
write(int) - Method in class io.pkts.buffer.InputStreamBuffer
 
write(long) - Method in class io.pkts.buffer.InputStreamBuffer
 
writeAsString(int) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
writeAsString(long) - Method in class io.pkts.buffer.BoundedInputStreamBuffer
 
writeAsString(int) - Method in interface io.pkts.buffer.Buffer
Write the integer value to this Buffer as a String.
writeAsString(long) - Method in interface io.pkts.buffer.Buffer
Write the long value to this Buffer as a String.
writeAsString(int) - Method in class io.pkts.buffer.ByteBuffer
 
writeAsString(long) - Method in class io.pkts.buffer.ByteBuffer
 
writeAsString(int) - Method in class io.pkts.buffer.EmptyBuffer
 
writeAsString(long) - Method in class io.pkts.buffer.EmptyBuffer
 
writeAsString(int) - Method in class io.pkts.buffer.InputStreamBuffer
 
writeAsString(long) - Method in class io.pkts.buffer.InputStreamBuffer
 
writeExternal(ObjectOutput) - Method in class io.pkts.buffer.ByteBuffer
 
WriteNotSupportedException - Exception in io.pkts.buffer
 
WriteNotSupportedException() - Constructor for exception io.pkts.buffer.WriteNotSupportedException
 
WriteNotSupportedException(String) - Constructor for exception io.pkts.buffer.WriteNotSupportedException
 
writerIndex - Variable in class io.pkts.buffer.AbstractBuffer
This is where we will write the next byte.
A B C D E G H I L M P R S T U W 
Skip navigation links

Copyright © 2021. All Rights Reserved.