Class ByteBufferReader

java.lang.Object
zombie.core.network.ByteBufferReader

public class ByteBufferReader
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.nio.ByteBuffer bb  
  • Constructor Summary

    Constructors
    Constructor Description
    ByteBufferReader​(java.nio.ByteBuffer byteBuffer)  
  • Method Summary

    Modifier and Type Method Description
    boolean getBoolean()  
    byte getByte()  
    char getChar()  
    double getDouble()  
    float getFloat()  
    int getInt()  
    long getLong()  
    short getShort()  
    java.lang.String getUTF()  

    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

    • ByteBufferReader

      public ByteBufferReader​(java.nio.ByteBuffer byteBuffer)
  • Method Details

    • getBoolean

      public boolean getBoolean()
    • getByte

      public byte getByte()
    • getChar

      public char getChar()
    • getDouble

      public double getDouble()
    • getFloat

      public float getFloat()
    • getInt

      public int getInt()
    • getLong

      public long getLong()
    • getShort

      public short getShort()
    • getUTF

      public java.lang.String getUTF()