capnproto-java-rpc/runtime/src/main/java/org/capnproto/SegmentReader.java

14 lines
250 B
Java
Raw Normal View History

package org.capnproto;
import java.nio.ByteBuffer;
public class SegmentReader {
// invariant: buffer's mark is at its beginning.
final ByteBuffer buffer;
public SegmentReader(ByteBuffer buffer) {
this.buffer = buffer;
}
}