private static class ServerRpcConnection.ByteBuffByteInput extends org.apache.hbase.thirdparty.com.google.protobuf.ByteInput
Modifier and Type | Field and Description |
---|---|
private ByteBuff |
buf |
private int |
length |
private int |
offset |
Constructor and Description |
---|
ByteBuffByteInput(ByteBuff buf,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
private int |
getAbsoluteOffset(int offset) |
byte |
read(int offset) |
int |
read(int offset,
byte[] out,
int outOffset,
int len) |
int |
read(int offset,
ByteBuffer out) |
int |
size() |
ByteBuffByteInput(ByteBuff buf, int offset, int length)
public byte read(int offset)
read
in class org.apache.hbase.thirdparty.com.google.protobuf.ByteInput
private int getAbsoluteOffset(int offset)
public int read(int offset, byte[] out, int outOffset, int len)
read
in class org.apache.hbase.thirdparty.com.google.protobuf.ByteInput
public int read(int offset, ByteBuffer out)
read
in class org.apache.hbase.thirdparty.com.google.protobuf.ByteInput
public int size()
size
in class org.apache.hbase.thirdparty.com.google.protobuf.ByteInput
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.