Closeable
, Flushable
, AutoCloseable
public class PacketOutputStream extends OutputStream
Constructor | Description |
---|---|
PacketOutputStream(Packet packet) |
Modifier and Type | Method | Description |
---|---|---|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush, write
public PacketOutputStream(Packet packet)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2005–2018. All rights reserved.