public final class ByteWriter extends Object implements ObjectTable.Writer, ClassTable.Writer
| Constructor and Description | 
|---|
ByteWriter(byte... bytes)
Construct a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
writeClass(Marshaller marshaller,
          Class<?> clazz)
Write the predefined class reference to the stream. 
 | 
void | 
writeObject(Marshaller marshaller,
           Object object)
Write the predefined object reference to the stream. 
 | 
public ByteWriter(byte... bytes)
bytes - the bytes to writepublic void writeObject(Marshaller marshaller, Object object) throws IOException
ObjectTable.WriterwriteObject in interface ObjectTable.Writermarshaller - the marshaller to write toobject - the object reference to writeIOException - if an I/O error occurspublic void writeClass(Marshaller marshaller, Class<?> clazz) throws IOException
ClassTable.WriterwriteClass in interface ClassTable.Writermarshaller - the marshaller to write toclazz - the class reference to writeIOException - if an I/O error occursCopyright © 2018 JBoss by Red Hat. All rights reserved.