public interface BytesDecoder
See Source.fromBytes(byte[], java.lang.String, com.oracle.truffle.api.source.BytesDecoder)
.
Modifier and Type | Interface and Description |
---|---|
static interface |
BytesDecoder.LineMarker |
static class |
BytesDecoder.UTF8BytesDecoder |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decode(byte[] bytes,
int byteIndex,
int length) |
void |
decodeLines(byte[] bytes,
int byteIndex,
int length,
BytesDecoder.LineMarker lineMarker) |
java.lang.String decode(byte[] bytes, int byteIndex, int length)
void decodeLines(byte[] bytes, int byteIndex, int length, BytesDecoder.LineMarker lineMarker)