@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }
void init(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }
@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
BinaryDecoder configure(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); return this; }
@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
void init(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); }
@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }
BinaryDecoder configure(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); return this; }
BinaryDecoder configure(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); return this; }
@Override protected void readRaw(byte[] data, int off, int len) throws IOException { int read = tryReadRaw(data, off, len); if (read < len) { throw new EOFException(); } }
BinaryDecoder configure(byte[] data, int offset, int length) { configureSource(DecoderFactory.DEFAULT_BUFFER_SIZE, new ByteArrayByteSource( data, offset, length)); return this; }
@Override protected void skipSourceBytes(long length) throws IOException { long skipped = trySkipBytes(length); if (skipped < length) { throw new EOFException(); } }