Package zombie.core.network
Class ByteBufferWriter
java.lang.Object
zombie.core.network.ByteBufferWriter
public class ByteBufferWriter
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBuffer
bb
-
Constructor Summary
Constructors Constructor Description ByteBufferWriter(java.nio.ByteBuffer byteBuffer)
-
Method Summary
Modifier and Type Method Description void
putBoolean(boolean boolean1)
void
putByte(byte byte1)
void
putChar(char char1)
void
putDouble(double double1)
void
putFloat(float float1)
void
putInt(int int1)
void
putLong(long long1)
void
putShort(short short1)
void
putUTF(java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bb
public java.nio.ByteBuffer bb
-
-
Constructor Details
-
ByteBufferWriter
public ByteBufferWriter(java.nio.ByteBuffer byteBuffer)
-
-
Method Details
-
putBoolean
public void putBoolean(boolean boolean1) -
putByte
public void putByte(byte byte1) -
putChar
public void putChar(char char1) -
putDouble
public void putDouble(double double1) -
putFloat
public void putFloat(float float1) -
putInt
public void putInt(int int1) -
putLong
public void putLong(long long1) -
putShort
public void putShort(short short1) -
putUTF
public void putUTF(java.lang.String string)
-