public interface IEncodingContext
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.ClassLoader | getClassLoader()Gets the classloader. | 
| java.util.Set<java.lang.Class> | getNonInnerClassCache()Returns the non-inner class cache. | 
| java.util.List<ITraverseProcessor> | getPreprocessors()Returns the preprocessors. | 
| java.lang.Object | getRootObject()Get the rootobject. | 
| java.lang.Object | getUserContext()Returns the user context. | 
| long | getWrittenBytes()Returns the number of bytes written. | 
| void | setIgnoreNextClassWrite(boolean state)Puts the context in a state where the next call to
  writeClass is ignored. | 
| void | write(byte[] b)Writes a byte array. | 
| void | writeBoolean(boolean bool)Writes a boolean value. | 
| void | writeByte(byte b)Writes a byte. | 
| void | writeClass(java.lang.Class<?> clazz)Writes a class to the context. | 
| int | writeClassname(java.lang.String name)Writes the name of a class. | 
| void | writeSignedVarInt(long value)Writes a signed variable integer to the encoding context. | 
| void | writeString(java.lang.String string)Writes a string to the context. | 
| void | writeVarInt(long value)Writes a variable integer to the encoding context. | 
java.util.List<ITraverseProcessor> getPreprocessors()
java.lang.ClassLoader getClassLoader()
java.lang.Object getRootObject()
java.lang.Object getUserContext()
java.util.Set<java.lang.Class> getNonInnerClassCache()
void setIgnoreNextClassWrite(boolean state)
state - If true, the next class write will be ignored and the state reset.void writeByte(byte b)
b - The byte.void write(byte[] b)
b - The byte array.void writeBoolean(boolean bool)
bool - The value.void writeString(java.lang.String string)
string - The string.void writeVarInt(long value)
value - The value.void writeSignedVarInt(long value)
value - The value.void writeClass(java.lang.Class<?> clazz)
clazz - The class.int writeClassname(java.lang.String name)
name - The name of the class.long getWrittenBytes()