- flush
Flushes internal buffer to the underlying output. This method also calls flush
method of the underly
- packLong
Writes an Integer value. This method writes an integer using the smallest format
from the int format
- packMapHeader
Writes header of a Map value. After this method call, for each key-value pair,
you will call packer
- packArrayHeader
Writes header of an Array value. You will call other packer methods for each
element after this meth
- close
Closes underlying output. This method flushes internal buffer before closing.
- packBinaryHeader
Writes header of a Binary value. You MUST call #writePayload(byte[]) or
#addPayload(byte[]) method t
- packString
Writes a String vlaue in UTF-8 encoding. This method writes a UTF-8 string using
the smallest format
- addPayload
Writes a byte array to the output. Unlike #writePayload(byte[],int,int) method,
this method doesn't
- packBoolean
Writes a Boolean value. This method writes a true byte or a false byte.
- packDouble
Writes a Float value. This method writes a float value using float format
family.
- packInt
Writes an Integer value. This method writes an integer using the smallest format
from the int format
- packNil
Writes a Nil value. This method writes a nil byte.