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 bb)
-
Method Summary
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 bb)
-
-
Method Details
-
putBoolean
public void putBoolean(boolean v) -
putByte
public void putByte(byte v) -
putChar
public void putChar(char v) -
putDouble
public void putDouble(double v) -
putFloat
public void putFloat(float v) -
putInt
public void putInt(int v) -
putLong
public void putLong(long v) -
putShort
public void putShort(short v) -
putUTF
public void putUTF(java.lang.String string)
-