Class NetStreamOutput
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.github.retrooper.packetevents.protocol.stream.NetStreamOutput
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeBoolean
(boolean b) void
writeByte
(int b) void
writeBytes
(byte[] b) void
writeBytes
(byte[] b, int length) void
writeChar
(int c) void
writeDouble
(double d) void
writeFloat
(float f) void
writeInt
(int i) void
writeInts
(int[] i) void
writeInts
(int[] i, int length) void
writeLong
(long l) void
writeLongs
(long[] l) void
writeLongs
(long[] l, int length) void
writeShort
(int s) void
writeShorts
(short[] s) void
writeShorts
(short[] s, int length) void
void
void
writeVarInt
(int i) void
writeVarLong
(long l) Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
NetStreamOutput
-
-
Method Details
-
writeBoolean
public void writeBoolean(boolean b) -
writeByte
public void writeByte(int b) -
writeShort
public void writeShort(int s) -
writeChar
public void writeChar(int c) -
writeInt
public void writeInt(int i) -
writeVarInt
public void writeVarInt(int i) -
writeLong
public void writeLong(long l) -
writeVarLong
public void writeVarLong(long l) -
writeFloat
public void writeFloat(float f) -
writeDouble
public void writeDouble(double d) -
writeBytes
public void writeBytes(byte[] b) -
writeBytes
public void writeBytes(byte[] b, int length) -
writeShorts
public void writeShorts(short[] s) -
writeShorts
public void writeShorts(short[] s, int length) -
writeInts
public void writeInts(int[] i) -
writeInts
public void writeInts(int[] i, int length) -
writeLongs
public void writeLongs(long[] l) -
writeLongs
public void writeLongs(long[] l, int length) -
writeString
-
writeUUID
-