Class ByteArrayByteSource

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

public class ByteArrayByteSource
extends java.lang.Object
implements ByteSource
Created by ruedi on 27.06.14.
  • Constructor Summary

    Constructors 
    Constructor Description
    ByteArrayByteSource​(byte[] arr)  
    ByteArrayByteSource​(byte[] arr, int off)  
    ByteArrayByteSource​(byte[] arr, int off, int len)  
  • Method Summary

    Modifier and Type Method Description
    byte get​(long index)  
    byte[] getArr()  
    int getOff()  
    long length()  
    void setArr​(byte[] arr)  
    void setLen​(int len)  
    void setOff​(int off)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait