org.openjena.atlas.lib
Class ByteBufferLib

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

public class ByteBufferLib
extends Object


Field Summary
static boolean allowArray
           
 
Method Summary
static void bbcopy(ByteBuffer bb1, int src, ByteBuffer bb2, int dst, int length, int slotLen)
           
static void bbcopy(ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbcopy1(ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbcopy2(ByteBuffer bb, int src, int dst, int length, int slotLen)
           
static void bbfill(ByteBuffer bb, int fromIdx, int toIdx, byte fillValue, int slotLen)
           
static ByteBuffer duplicate(ByteBuffer bb)
          Copy of a ByteBuffer - the contents are copied (unlike ByteBuffer.duplicate)
static void fill(ByteBuffer bb, byte v)
           
static void fill(ByteBuffer bb, int start, int finish, byte v)
           
static void print(ByteBuffer byteBuffer)
           
static void print(PrintStream out, ByteBuffer byteBuffer)
           
static boolean sameValue(ByteBuffer bb1, ByteBuffer bb2)
           
 
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(ByteBuffer bb,
                        byte v)

fill

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

print

public static void print(ByteBuffer byteBuffer)

print

public static void print(PrintStream out,
                         ByteBuffer byteBuffer)

sameValue

public static boolean sameValue(ByteBuffer bb1,
                                ByteBuffer bb2)

duplicate

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


bbcopy

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

bbcopy1

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

bbcopy2

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

bbcopy

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

bbfill

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


Licenced under the Apache License, Version 2.0