Class BytezByteSource

java.lang.Object
org.nustaq.offheap.bytez.bytesource.BytezByteSource
All Implemented Interfaces:
ByteSource

public class BytezByteSource extends Object implements ByteSource
Created by ruedi on 27.06.14.
  • Constructor Details

    • BytezByteSource

      public BytezByteSource(Bytez bytes, long off, int len)
  • Method Details

    • get

      public byte get(long index)
      Specified by:
      get in interface ByteSource
    • length

      public long length()
      Specified by:
      length in interface ByteSource
    • getBytes

      public Bytez getBytes()
    • setBytes

      public void setBytes(Bytez bytes)
    • getOff

      public long getOff()
    • setOff

      public void setOff(long off)
    • getLen

      public int getLen()
    • setLen

      public void setLen(int len)