public class BiendianDataInputStream extends InputStream implements DataInput
Constructor and Description |
---|
BiendianDataInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
boolean |
isLittleEndian() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
static String |
readUTF(DataInput in) |
void |
setLittleEndian(boolean littleEndian) |
int |
skipBytes(int n) |
long |
skipBytes(long n) |
available, mark, markSupported, reset, skip
public BiendianDataInputStream(InputStream in)
public InputStream getInputStream()
public final void setLittleEndian(boolean littleEndian)
public final boolean isLittleEndian()
public final int read(byte[] b) throws IOException
read
in class InputStream
IOException
public final int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public final void readFully(byte[] b) throws IOException
readFully
in interface DataInput
IOException
public final void readFully(byte[] b, int off, int len) throws IOException
readFully
in interface DataInput
IOException
public final int skipBytes(int n) throws IOException
skipBytes
in interface DataInput
IOException
public final long skipBytes(long n) throws IOException
IOException
public final boolean readBoolean() throws IOException
readBoolean
in interface DataInput
IOException
public final byte readByte() throws IOException
readByte
in interface DataInput
IOException
public final int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
IOException
public final short readShort() throws IOException
readShort
in interface DataInput
IOException
public final int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
IOException
public final char readChar() throws IOException
readChar
in interface DataInput
IOException
public final int readInt() throws IOException
readInt
in interface DataInput
IOException
public final long readLong() throws IOException
readLong
in interface DataInput
IOException
public final float readFloat() throws IOException
readFloat
in interface DataInput
IOException
public final double readDouble() throws IOException
readDouble
in interface DataInput
IOException
public final String readLine() throws IOException
readLine
in interface DataInput
IOException
public final String readUTF() throws IOException
readUTF
in interface DataInput
IOException
public static final String readUTF(DataInput in) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com