Class ByteWriter

java.lang.Object
org.jboss.marshalling.ByteWriter
All Implemented Interfaces:
ClassTable.Writer, ObjectTable.Writer

public final class ByteWriter extends Object implements ObjectTable.Writer, ClassTable.Writer
A writer for class or object tables which simply writes a flat sequence of bytes.
  • Field Details

    • bytes

      private final byte[] bytes
  • Constructor Details

    • ByteWriter

      public ByteWriter(byte... bytes)
      Construct a new instance.
      Parameters:
      bytes - the bytes to write
  • Method Details