Closeable
, AutoCloseable
PacketInputStream
public class PacketToInputStream extends InputStream
Constructor | Description |
---|---|
PacketToInputStream(Packet packet) |
Modifier and Type | Method | Description |
---|---|---|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTo
public PacketToInputStream(Packet packet)
packet
- public int read() throws IOException
read
in class InputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
InputStream.read(byte[], int, int)
Copyright © 2005–2018. All rights reserved.