Interface StructWriter<S>

All Known Implementing Classes:
BasicWriterUnsafe, BufferWriter, ModelWriterUnsafe, OrientedWriterUnsafe, UnsafeBufferWriter

public interface StructWriter<S>
StructWriters can quickly consume many instances of S and write them to some backing buffer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    seek(int pos)
    Seek to the given position.
    void
    write(S struct)
    Write the given struct to the backing array.
  • Method Details

    • write

      void write(S struct)
      Write the given struct to the backing array.
    • seek

      void seek(int pos)
      Seek to the given position. The next write will occur there.