Class BinaryWire.Writer

java.lang.Object
io.fluxzero.common.api.internal.BinaryWire.Writer
Enclosing class:
BinaryWire

public static final class BinaryWire.Writer extends Object
  • Constructor Details

    • Writer

      public Writer(int initialSize, int maximumSize)
  • Method Details

    • writeByte

      public void writeByte(int value)
    • writeBoolean

      public void writeBoolean(boolean value)
    • writeInt

      public void writeInt(int value)
    • writeLong

      public void writeLong(long value)
    • writeNullableInt

      public void writeNullableInt(Integer value)
    • writeNullableLong

      public void writeNullableLong(Long value)
    • writeString

      public void writeString(String value)
    • writeBytes

      public void writeBytes(byte[] value)
    • writeBytes

      public void writeBytes(byte[] value, int offset, int length)
    • writeRaw

      public void writeRaw(byte[] value)
    • writeRaw

      public void writeRaw(byte[] value, int offset, int length)
    • writeLongs

      public void writeLongs(long[] values)
    • writeEnvelope

      public void writeEnvelope(SerializedMessage message)
    • toByteArray

      public byte[] toByteArray()
    • toExactByteArray

      public byte[] toExactByteArray()