public class Bytes
extends java.lang.Object
| Constructor and Description |
|---|
Bytes() |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.ByteBuffer |
allocate(int n) |
static int |
compareBuffers(java.nio.ByteBuffer a,
java.nio.ByteBuffer b) |
static int |
compareInputs(DurableInput a,
DurableInput b) |
static java.nio.ByteBuffer |
duplicate(java.nio.ByteBuffer b) |
static java.nio.ByteBuffer |
slice(java.nio.ByteBuffer b,
long start,
long end) |
static java.lang.String |
toHexString(java.nio.ByteBuffer buf) |
static java.lang.String |
toHexTable(DurableInput in) |
static int |
transfer(java.nio.ByteBuffer src,
java.nio.ByteBuffer dst) |
public static java.lang.String toHexTable(DurableInput in)
public static java.lang.String toHexString(java.nio.ByteBuffer buf)
public static int compareBuffers(java.nio.ByteBuffer a,
java.nio.ByteBuffer b)
public static int compareInputs(DurableInput a, DurableInput b)
public static java.nio.ByteBuffer slice(java.nio.ByteBuffer b,
long start,
long end)
public static java.nio.ByteBuffer allocate(int n)
public static java.nio.ByteBuffer duplicate(java.nio.ByteBuffer b)
public static int transfer(java.nio.ByteBuffer src,
java.nio.ByteBuffer dst)