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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteBoolean(boolean b) voidwriteByte(int b) voidwriteBytes(byte[] b) voidwriteBytes(byte[] b, int length) voidwriteChar(int c) voidwriteDouble(double d) voidwriteFloat(float f) voidwriteInt(int i) voidwriteInts(int[] i) voidwriteInts(int[] i, int length) voidwriteLong(long l) voidwriteLongs(long[] l) voidwriteLongs(long[] l, int length) voidwriteShort(int s) voidwriteShorts(short[] s) voidwriteShorts(short[] s, int length) voidvoidvoidwriteVarInt(int i) voidwriteVarLong(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
-