public class CodecDataInputLittleEndian extends CodecDataInput
backingBuffer, backingStream, inputStream
Constructor and Description |
---|
CodecDataInputLittleEndian(byte[] buf) |
CodecDataInputLittleEndian(com.google.protobuf.ByteString data) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
currentPos() |
boolean |
eof() |
void |
mark(int givenPos) |
int |
peekByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
int |
size() |
byte[] |
toByteArray() |
readBoolean, readByte, readFully, readFully, readPartialUnsignedShort, readUnsignedByte, skipBytes
public CodecDataInputLittleEndian(com.google.protobuf.ByteString data)
public CodecDataInputLittleEndian(byte[] buf)
public short readShort()
readShort
in interface DataInput
readShort
in class CodecDataInput
public int readUnsignedShort()
readUnsignedShort
in interface DataInput
readUnsignedShort
in class CodecDataInput
public char readChar()
readChar
in interface DataInput
readChar
in class CodecDataInput
public int readInt()
readInt
in interface DataInput
readInt
in class CodecDataInput
public long readLong()
readLong
in interface DataInput
readLong
in class CodecDataInput
public float readFloat()
readFloat
in interface DataInput
readFloat
in class CodecDataInput
public double readDouble()
readDouble
in interface DataInput
readDouble
in class CodecDataInput
public String readLine()
readLine
in interface DataInput
readLine
in class CodecDataInput
@Nonnull public String readUTF()
readUTF
in interface DataInput
readUTF
in class CodecDataInput
public int peekByte()
peekByte
in class CodecDataInput
public int currentPos()
currentPos
in class CodecDataInput
public void mark(int givenPos)
mark
in class CodecDataInput
public void reset()
reset
in class CodecDataInput
public boolean eof()
eof
in class CodecDataInput
public int size()
size
in class CodecDataInput
public int available()
available
in class CodecDataInput
public byte[] toByteArray()
toByteArray
in class CodecDataInput
Copyright © 2024 PingCAP. All rights reserved.