public class LittleEndianDataInputBlobReader<S extends MessageSchema<S>> extends InputStream implements DataInput
| Modifier and Type | Field and Description |
|---|---|
int |
position |
| Constructor and Description |
|---|
LittleEndianDataInputBlobReader(Pipe<S> pipe) |
close, mark, markSupported, reset, skippublic void openHighLevelAPIField(int loc)
public int openLowLevelAPIField()
public static void openRawRead(LittleEndianDataInputBlobReader reader, int position, int length)
public int accumLowLevelAPIField()
public int length()
public boolean hasRemainingBytes()
public int available()
throws IOException
available in class InputStreamIOExceptionpublic DataInput nullable()
public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void readFully(byte[] b)
throws IOException
readFully in interface DataInputIOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes in interface DataInputIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic int peekInt()
throws IOException
IOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic <T> T readObject()
throws IOException
IOExceptionpublic void readInto(Pipe<?> selectedPipe, int len)
public static void appendNextFieldToReader(LittleEndianDataInputBlobReader reader, Pipe<RawDataSchema> targetPipe)
public static <A extends Appendable> int readUTF(LittleEndianDataInputBlobReader reader, A target, int bytesCount) throws IOException
IOExceptionpublic static int peekInt(LittleEndianDataInputBlobReader reader, int off)
Copyright © 2018. All Rights Reserved.