public interface Bytes
Modifier and Type | Method and Description |
---|---|
byte[] |
copyOf() |
byte[] |
copyOf(int i,
int c) |
void |
copyTo(int i,
byte[] dest,
int iDest,
int c) |
byte |
first() |
boolean |
isEmpty() |
byte |
last() |
int |
n()
Length of the sequence
|
String |
string() |
String |
string(int i,
int c)
Strings are encoded and decoded using the UTF-8 charset (multi-byte
charsets just aren't worth the increased complication in indexing).
|
byte |
v(int i)
Value at index i
|
static final Charset utf8
byte v(int i)
int n()
void copyTo(int i, byte[] dest, int iDest, int c)
String string(int i, int c)
boolean isEmpty()
byte first()
byte last()
byte[] copyOf(int i, int c)
byte[] copyOf()
String string()
Copyright © 2013 Metron, Inc.. All rights reserved.