public static interface MutableByteArray.Helper
| Modifier and Type | Method and Description |
|---|---|
void |
insert(MutableData data,
int index,
byte value)
Insert the value to this position
|
void |
insert(MutableData data,
int index,
byte[] source,
int start,
int end)
Insert values from source buffer with range [start, end)
|
byte |
remove(MutableData data,
int index)
Remove element at this position and return its value
|
void |
update(MutableData data,
int index,
byte[] source,
int start,
int end)
Copy values from source buffer with range [start, end)
|
void update(MutableData data, int index, byte[] source, int start, int end)
data - - this mutable data objectindex - - copy to self buffer from this relative positionsource - - source bufferstart - - source start position (include)end - - source end position (exclude)void insert(MutableData data, int index, byte[] source, int start, int end)
data - - this mutable data objectindex - - copy to self buffer from this relative positionsource - - source bufferstart - - source start position (include)end - - source end position (exclude)void insert(MutableData data, int index, byte value)
data - - this mutable data objectindex - - positionvalue - - byte valuebyte remove(MutableData data, int index)
data - - this mutable data objectindex - - position