- <init>
Constructor.
- serialize
Serializes the term from the position where it left of the last time this method
was called. Note th
- ensureStackCapacity
Resizes the _stack when needed. When we're running low on _stack space the
capacity will be doubled.
- getHeader
Returns a header for the given term.
- getNextTerm
Finds the next term we are going to serialize, based on the current state of the
_stack.
- isFinished
Checks if we are done serializing.
- writeDouble
Splits the given double in separate bytes and writes it to the buffer. Doubles
will always occupy 8
- writeInt
Splits the given integer in separate bytes and writes it to the buffer. It will
occupy the smallest
- writeLong