| Modifier and Type | Method and Description |
|---|---|
int |
Buffer.indexOf(byte b) |
int |
AbstractBuffer.indexOf(byte b) |
int |
EmptyBuffer.indexOf(byte b) |
int |
Buffer.indexOf(int maxBytes,
byte... bytes)
Same as
Buffer.readUntil(int, byte...) but instead of returning the
buffer with everything up until the specified byte it returns the index
instead. |
int |
AbstractBuffer.indexOf(int maxBytes,
byte... bytes)
Same as
Buffer.readUntil(int, byte...) but instead of returning the
buffer with everything up until the specified byte it returns the index
instead. |
int |
EmptyBuffer.indexOf(int maxBytes,
byte... bytes) |
Buffer |
Buffer.readUntil(byte b)
Same as
#readUntil(4096, b)
Read until the specified byte is encountered and return a buffer
representing that section of the buffer. |
Buffer |
AbstractBuffer.readUntil(byte b)
Same as
#readUntil(4096, b)
Read until the specified byte is encountered and return a buffer
representing that section of the buffer. |
Buffer |
EmptyBuffer.readUntil(byte b)
Same as
#readUntil(4096, b)
Read until the specified byte is encountered and return a buffer
representing that section of the buffer. |
Buffer |
Buffer.readUntil(int maxBytes,
byte... bytes)
Read until any of the specified bytes have been encountered or until we
have read a maximum amount of bytes.
|
Buffer |
AbstractBuffer.readUntil(int maxBytes,
byte... bytes)
Read until any of the specified bytes have been encountered or until we
have read a maximum amount of bytes.
|
Buffer |
EmptyBuffer.readUntil(int maxBytes,
byte... bytes) |
Copyright © 2014. All Rights Reserved.