public final class SliceImpl
extends org.embulk.deps.buffer.Slice
| Constructor and Description |
|---|
SliceImpl(byte[] array,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte(int index) |
void |
getBytes(int index,
byte[] destination,
int destinationIndex,
int length) |
double |
getDouble(int index) |
int |
getInt(int index) |
long |
getLong(int index) |
void |
setByte(int index,
int value) |
void |
setBytes(int index,
byte[] source) |
void |
setDouble(int index,
double value) |
void |
setInt(int index,
int value) |
void |
setLong(int index,
long value) |
public byte getByte(int index)
getByte in class org.embulk.deps.buffer.Slicepublic void getBytes(int index,
byte[] destination,
int destinationIndex,
int length)
getBytes in class org.embulk.deps.buffer.Slicepublic double getDouble(int index)
getDouble in class org.embulk.deps.buffer.Slicepublic int getInt(int index)
getInt in class org.embulk.deps.buffer.Slicepublic long getLong(int index)
getLong in class org.embulk.deps.buffer.Slicepublic void setByte(int index,
int value)
setByte in class org.embulk.deps.buffer.Slicepublic void setBytes(int index,
byte[] source)
setBytes in class org.embulk.deps.buffer.Slicepublic void setDouble(int index,
double value)
setDouble in class org.embulk.deps.buffer.Slicepublic void setInt(int index,
int value)
setInt in class org.embulk.deps.buffer.Slicepublic void setLong(int index,
long value)
setLong in class org.embulk.deps.buffer.Slice