Uses of Class
org.fusesource.hawtbuf.Buffer
-
Packages that use Buffer Package Description org.fusesource.hawtbuf org.fusesource.hawtbuf.codec org.fusesource.hawtbuf.proto org.fusesource.hawtbuf.proto.compiler -
-
Uses of Buffer in org.fusesource.hawtbuf
Subclasses of Buffer in org.fusesource.hawtbuf Modifier and Type Class Description class
AsciiBuffer
class
UTF8Buffer
Fields in org.fusesource.hawtbuf declared as Buffer Modifier and Type Field Description protected Buffer
BufferEditor. buffer
Methods in org.fusesource.hawtbuf that return Buffer Modifier and Type Method Description Buffer
Buffer. buffer()
Buffer
Buffer. clear()
Buffer
Buffer. compact()
Buffer
Buffer. data(byte[] data)
Buffer
Buffer. deepCopy()
Buffer
Buffer. flip()
Buffer
BufferOutputStream. getNextBuffer(int len)
static Buffer
Buffer. join(java.util.List<Buffer> items, Buffer seperator)
Buffer
Buffer. length(int length)
Buffer
Buffer. moveHead(int value)
Buffer
Buffer. moveTail(int value)
Buffer
Buffer. offset(int offset)
Buffer
BufferInputStream. readBuffer(int len)
Buffer
DataByteArrayInputStream. readBuffer(int len)
Buffer
Buffer. slice(int low, int high)
Buffer[]
Buffer. split(byte separator)
Buffer
BufferOutputStream. toBuffer()
Buffer
ByteArrayOutputStream. toBuffer()
Buffer
DataByteArrayOutputStream. toBuffer()
Get a Buffer from the streamstatic Buffer
HexSupport. toBufferFromHex(java.lang.String hex)
Buffer
Buffer. trim()
Buffer
Buffer. trimEnd()
Buffer
Buffer. trimFront()
Methods in org.fusesource.hawtbuf with parameters of type Buffer Modifier and Type Method Description static AsciiBuffer
AsciiBuffer. ascii(Buffer buffer)
static AsciiBuffer
Buffer. ascii(Buffer buffer)
static BufferEditor
BufferEditor. big(Buffer buffer)
int
Buffer. compareTo(Buffer o)
int
UTF8Buffer. compareTo(Buffer other)
boolean
Buffer. containsAt(Buffer needle, int pos)
static java.lang.String
AsciiBuffer. decode(Buffer value)
static java.lang.String
UTF8Buffer. decode(Buffer buffer)
boolean
Buffer. equals(Buffer obj)
int
Buffer. indexOf(Buffer needle)
int
Buffer. indexOf(Buffer needle, int pos)
static Buffer
Buffer. join(java.util.List<Buffer> items, Buffer seperator)
static BufferEditor
BufferEditor. little(Buffer buffer)
private boolean
Buffer. matches(Buffer needle, int pos)
void
DataByteArrayInputStream. restart(Buffer buffer)
reset theStoreByteArrayInputStream
to use an new Bufferboolean
Buffer. startsWith(Buffer other)
static java.lang.String
Buffer. string(Buffer value)
static java.lang.String
HexSupport. toHexFromBuffer(Buffer buffer)
static UTF8Buffer
Buffer. utf8(Buffer buffer)
static UTF8Buffer
UTF8Buffer. utf8(Buffer buffer)
void
ByteArrayOutputStream. write(Buffer b)
void
DataByteArrayOutputStream. write(Buffer data)
Method parameters in org.fusesource.hawtbuf with type arguments of type Buffer Modifier and Type Method Description static Buffer
Buffer. join(java.util.List<Buffer> items, Buffer seperator)
Constructors in org.fusesource.hawtbuf with parameters of type Buffer Constructor Description AsciiBuffer(Buffer other)
BigEndianBufferEditor(Buffer buffer)
Buffer(Buffer other)
BufferEditor(Buffer buffer)
BufferInputStream(Buffer sequence)
BufferOutputStream(Buffer data)
ByteArrayInputStream(Buffer buffer)
DataByteArrayInputStream(Buffer buffer)
Creates aStoreByteArrayInputStream
.LittleEndianBufferEditor(Buffer buffer)
UTF8Buffer(Buffer other)
-
Uses of Buffer in org.fusesource.hawtbuf.codec
Classes in org.fusesource.hawtbuf.codec with type parameters of type Buffer Modifier and Type Class Description class
AbstractBufferCodec<T extends Buffer>
Implementation of a Codec for Buffer objectsMethods in org.fusesource.hawtbuf.codec that return Buffer Modifier and Type Method Description protected Buffer
BufferCodec. createBuffer(byte[] data)
Buffer
FixedBufferCodec. decode(java.io.DataInput dataIn)
Buffer
FixedBufferCodec. deepCopy(Buffer source)
Methods in org.fusesource.hawtbuf.codec with parameters of type Buffer Modifier and Type Method Description Buffer
FixedBufferCodec. deepCopy(Buffer source)
void
FixedBufferCodec. encode(Buffer value, java.io.DataOutput dataOut)
int
FixedBufferCodec. estimatedSize(Buffer object)
-
Uses of Buffer in org.fusesource.hawtbuf.proto
Fields in org.fusesource.hawtbuf.proto declared as Buffer Modifier and Type Field Description protected Buffer
DeferredDecodeMessage. encodedForm
Methods in org.fusesource.hawtbuf.proto that return Buffer Modifier and Type Method Description Buffer
CodedOutputStream. getNextBuffer(int size)
Buffer
CodedInputStream. readBytes()
Read abytes
field value from the stream.static Buffer
MessageBufferSupport. readFrame(java.io.InputStream input)
Buffer
CodedInputStream. readRawBytes(int size)
Read a fixed size of bytes from the input.Buffer
BaseMessage. toFramedBuffer()
Buffer
Message. toFramedBuffer()
Buffer
MessageBuffer. toFramedBuffer()
static Buffer
MessageBufferSupport. toFramedBuffer(MessageBuffer message)
Buffer
BaseMessage. toUnframedBuffer()
Buffer
DeferredDecodeMessage. toUnframedBuffer()
Buffer
Message. toUnframedBuffer()
Buffer
MessageBuffer. toUnframedBuffer()
static Buffer
MessageBufferSupport. toUnframedBuffer(MessageBuffer message)
Methods in org.fusesource.hawtbuf.proto with parameters of type Buffer Modifier and Type Method Description static int
CodedOutputStream. computeBytesSize(int fieldNumber, Buffer value)
Compute the number of bytes that would be needed to encode abytes
field, including tag.T
BaseMessage. mergeFramed(Buffer data)
T
Message. mergeFramed(Buffer buffer)
T
BaseMessage. mergeUnframed(Buffer data)
T
DeferredDecodeMessage. mergeUnframed(Buffer data)
T
Message. mergeUnframed(Buffer buffer)
Buffer
PBMessageFactory. parseFramed(Buffer data)
Buffer
PBMessageFactory. parseUnframed(Buffer data)
void
CodedOutputStream. writeBytes(int fieldNumber, Buffer value)
Write abytes
field, including tag, to the stream.void
CodedOutputStream. writeRawBytes(Buffer data)
Constructors in org.fusesource.hawtbuf.proto with parameters of type Buffer Constructor Description CodedInputStream(Buffer data)
CodedOutputStream(Buffer data)
-
Uses of Buffer in org.fusesource.hawtbuf.proto.compiler
Methods in org.fusesource.hawtbuf.proto.compiler that return Buffer Modifier and Type Method Description Buffer
TextFormat.Tokenizer. consumeBuffer()
If the next token is a string, consume it, unescape it as aBuffer
, and return it.(package private) static Buffer
TextFormat. unescapeBytes(java.lang.CharSequence input)
Un-escape a byte sequence as escaped usingTextFormat.escapeBytes(Buffer)
.Methods in org.fusesource.hawtbuf.proto.compiler with parameters of type Buffer Modifier and Type Method Description (package private) static java.lang.String
TextFormat. escapeBytes(Buffer input)
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals.
-