Class CodedInputStream.UnsafeDirectNioDecoder

java.lang.Object
com.google.protobuf.CodedInputStream
com.google.protobuf.CodedInputStream.UnsafeDirectNioDecoder
Enclosing class:
CodedInputStream

private static final class CodedInputStream.UnsafeDirectNioDecoder extends CodedInputStream
A CodedInputStream implementation that uses a backing direct ByteBuffer as the input. Requires the use of sun.misc.Unsafe to perform fast reads on the buffer.