public class SizeAwareDataInputStream extends Object
| Constructor and Description |
|---|
SizeAwareDataInputStream(DataInputStream dis) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Integer |
getNumberOfBytesRead() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
int |
skipBytes(int n) |
public SizeAwareDataInputStream(DataInputStream dis)
public int readInt()
throws IOException
IOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic void readFully(byte[] b)
throws IOException
IOExceptionpublic int skipBytes(int n)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic Integer getNumberOfBytesRead()
Copyright © 2024 The Apache Software Foundation. All rights reserved.