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 classAsciiBufferclassUTF8BufferFields in org.fusesource.hawtbuf declared as Buffer Modifier and Type Field Description protected BufferBufferEditor. bufferMethods in org.fusesource.hawtbuf that return Buffer Modifier and Type Method Description BufferBuffer. buffer()BufferBuffer. clear()BufferBuffer. compact()BufferBuffer. data(byte[] data)BufferBuffer. deepCopy()BufferBuffer. flip()BufferBufferOutputStream. getNextBuffer(int len)static BufferBuffer. join(java.util.List<Buffer> items, Buffer seperator)BufferBuffer. length(int length)BufferBuffer. moveHead(int value)BufferBuffer. moveTail(int value)BufferBuffer. offset(int offset)BufferBufferInputStream. readBuffer(int len)BufferDataByteArrayInputStream. readBuffer(int len)BufferBuffer. slice(int low, int high)Buffer[]Buffer. split(byte separator)BufferBufferOutputStream. toBuffer()BufferByteArrayOutputStream. toBuffer()BufferDataByteArrayOutputStream. toBuffer()Get a Buffer from the streamstatic BufferHexSupport. toBufferFromHex(java.lang.String hex)BufferBuffer. trim()BufferBuffer. trimEnd()BufferBuffer. trimFront()Methods in org.fusesource.hawtbuf with parameters of type Buffer Modifier and Type Method Description static AsciiBufferAsciiBuffer. ascii(Buffer buffer)static AsciiBufferBuffer. ascii(Buffer buffer)static BufferEditorBufferEditor. big(Buffer buffer)intBuffer. compareTo(Buffer o)intUTF8Buffer. compareTo(Buffer other)booleanBuffer. containsAt(Buffer needle, int pos)static java.lang.StringAsciiBuffer. decode(Buffer value)static java.lang.StringUTF8Buffer. decode(Buffer buffer)booleanBuffer. equals(Buffer obj)intBuffer. indexOf(Buffer needle)intBuffer. indexOf(Buffer needle, int pos)static BufferBuffer. join(java.util.List<Buffer> items, Buffer seperator)static BufferEditorBufferEditor. little(Buffer buffer)private booleanBuffer. matches(Buffer needle, int pos)voidDataByteArrayInputStream. restart(Buffer buffer)reset theStoreByteArrayInputStreamto use an new BufferbooleanBuffer. startsWith(Buffer other)static java.lang.StringBuffer. string(Buffer value)static java.lang.StringHexSupport. toHexFromBuffer(Buffer buffer)static UTF8BufferBuffer. utf8(Buffer buffer)static UTF8BufferUTF8Buffer. utf8(Buffer buffer)voidByteArrayOutputStream. write(Buffer b)voidDataByteArrayOutputStream. write(Buffer data)Method parameters in org.fusesource.hawtbuf with type arguments of type Buffer Modifier and Type Method Description static BufferBuffer. 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 classAbstractBufferCodec<T extends Buffer>Implementation of a Codec for Buffer objectsMethods in org.fusesource.hawtbuf.codec that return Buffer Modifier and Type Method Description protected BufferBufferCodec. createBuffer(byte[] data)BufferFixedBufferCodec. decode(java.io.DataInput dataIn)BufferFixedBufferCodec. deepCopy(Buffer source)Methods in org.fusesource.hawtbuf.codec with parameters of type Buffer Modifier and Type Method Description BufferFixedBufferCodec. deepCopy(Buffer source)voidFixedBufferCodec. encode(Buffer value, java.io.DataOutput dataOut)intFixedBufferCodec. 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 BufferDeferredDecodeMessage. encodedFormMethods in org.fusesource.hawtbuf.proto that return Buffer Modifier and Type Method Description BufferCodedOutputStream. getNextBuffer(int size)BufferCodedInputStream. readBytes()Read abytesfield value from the stream.static BufferMessageBufferSupport. readFrame(java.io.InputStream input)BufferCodedInputStream. readRawBytes(int size)Read a fixed size of bytes from the input.BufferBaseMessage. toFramedBuffer()BufferMessage. toFramedBuffer()BufferMessageBuffer. toFramedBuffer()static BufferMessageBufferSupport. toFramedBuffer(MessageBuffer message)BufferBaseMessage. toUnframedBuffer()BufferDeferredDecodeMessage. toUnframedBuffer()BufferMessage. toUnframedBuffer()BufferMessageBuffer. toUnframedBuffer()static BufferMessageBufferSupport. toUnframedBuffer(MessageBuffer message)Methods in org.fusesource.hawtbuf.proto with parameters of type Buffer Modifier and Type Method Description static intCodedOutputStream. computeBytesSize(int fieldNumber, Buffer value)Compute the number of bytes that would be needed to encode abytesfield, including tag.TBaseMessage. mergeFramed(Buffer data)TMessage. mergeFramed(Buffer buffer)TBaseMessage. mergeUnframed(Buffer data)TDeferredDecodeMessage. mergeUnframed(Buffer data)TMessage. mergeUnframed(Buffer buffer)BufferPBMessageFactory. parseFramed(Buffer data)BufferPBMessageFactory. parseUnframed(Buffer data)voidCodedOutputStream. writeBytes(int fieldNumber, Buffer value)Write abytesfield, including tag, to the stream.voidCodedOutputStream. 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 BufferTextFormat.Tokenizer. consumeBuffer()If the next token is a string, consume it, unescape it as aBuffer, and return it.(package private) static BufferTextFormat. 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.StringTextFormat. 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.
-