org.openjena.atlas.lib
Class ByteBufferLib

java.lang.Object
  extended by org.openjena.atlas.lib.ByteBufferLib

public class ByteBufferLib
extends java.lang.Object


Field Summary
static boolean allowArray
           
 
Method Summary
static void bbcopy(java.nio.ByteBuffer bb1, int src, java.nio.ByteBuffer bb2, int dst, int length, int slotLen)
           
static void bbcopy(java.nio.ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbcopy1(java.nio.ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbcopy2(java.nio.ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbfill(java.nio.ByteBuffer bb, int fromIdx, int toIdx, byte fillValue, int slotLen)
           
static java.nio.ByteBuffer duplicate(java.nio.ByteBuffer bb)
          Copy of a ByteBuffer - the contents are copied (unlike ByteBuffer.duplicate)
static void fill(java.nio.ByteBuffer bb, byte v)
           
static void fill(java.nio.ByteBuffer bb, int start, int finish, byte v)
           
static void print(java.nio.ByteBuffer byteBuffer)
           
static void print(java.io.PrintStream out, java.nio.ByteBuffer byteBuffer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowArray

public static boolean allowArray
Method Detail

fill

public static void fill(java.nio.ByteBuffer bb,
                        byte v)

fill

public static void fill(java.nio.ByteBuffer bb,
                        int start,
                        int finish,
                        byte v)

print

public static void print(java.nio.ByteBuffer byteBuffer)

print

public static void print(java.io.PrintStream out,
                         java.nio.ByteBuffer byteBuffer)

duplicate

public static final java.nio.ByteBuffer duplicate(java.nio.ByteBuffer bb)
Copy of a ByteBuffer - the contents are copied (unlike ByteBuffer.duplicate)


bbcopy

public static final void bbcopy(java.nio.ByteBuffer bb,
                                int src,
                                int dst,
                                int length,
                                int slotLen)

bbcopy1

public static final void bbcopy1(java.nio.ByteBuffer bb,
                                 int src,
                                 int dst,
                                 int length,
                                 int slotLen)

bbcopy2

public static final void bbcopy2(java.nio.ByteBuffer bb,
                                 int src,
                                 int dst,
                                 int length,
                                 int slotLen)

bbcopy

public static final void bbcopy(java.nio.ByteBuffer bb1,
                                int src,
                                java.nio.ByteBuffer bb2,
                                int dst,
                                int length,
                                int slotLen)

bbfill

public static final void bbfill(java.nio.ByteBuffer bb,
                                int fromIdx,
                                int toIdx,
                                byte fillValue,
                                int slotLen)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.