Package org.apache.jena.atlas.lib
Class ByteBufferLib
java.lang.Object
org.apache.jena.atlas.lib.ByteBufferLib
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final byte[]bb2array(ByteBuffer bb, int start, int finish) Copy from a byte bufferstatic final voidbbcopy(ByteBuffer bb, int src, int dst, int length, int slotLen) static final voidbbcopy(ByteBuffer bb1, int src, ByteBuffer bb2, int dst, int length, int slotLen) static final voidbbfill(ByteBuffer bb, int fromIdx, int toIdx, byte fillValue, int slotLen) static Stringdetails(ByteBuffer byteBuffer) static final ByteBufferduplicate(ByteBuffer bb) Copy of a ByteBuffer - the contents are copied (unlike ByteBuffer.duplicate)static voidfill(ByteBuffer bb, byte v) static voidfill(ByteBuffer bb, int start, int finish, byte v) static voidprint(PrintStream out, ByteBuffer byteBuffer) static voidprint(ByteBuffer byteBuffer) static booleansameValue(ByteBuffer bb1, ByteBuffer bb2)
-
Field Details
-
allowArray
public static boolean allowArray
-
-
Method Details
-
fill
-
fill
-
details
-
print
-
print
-
sameValue
-
duplicate
Copy of a ByteBuffer - the contents are copied (unlike ByteBuffer.duplicate) -
bb2array
Copy from a byte buffer -
bbcopy
-
bbcopy
public static final void bbcopy(ByteBuffer bb1, int src, ByteBuffer bb2, int dst, int length, int slotLen) -
bbfill
-