org.scijava.io
Class BytesLocation

java.lang.Object
  extended by org.scijava.io.AbstractLocation
      extended by org.scijava.io.BytesLocation
All Implemented Interfaces:
Location

public class BytesLocation
extends AbstractLocation

Location backed by a ByteBuffer.

Author:
Curtis Rueden

Constructor Summary
BytesLocation(byte[] bytes)
           
BytesLocation(byte[] bytes, int offset, int length)
           
BytesLocation(ByteBuffer bytes)
           
 
Method Summary
 ByteBuffer getByteBuffer()
          Gets the associated ByteBuffer.
 
Methods inherited from class org.scijava.io.AbstractLocation
getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytesLocation

public BytesLocation(ByteBuffer bytes)

BytesLocation

public BytesLocation(byte[] bytes)

BytesLocation

public BytesLocation(byte[] bytes,
                     int offset,
                     int length)
Method Detail

getByteBuffer

public ByteBuffer getByteBuffer()
Gets the associated ByteBuffer.



Copyright © 2009–2015 SciJava. All rights reserved.