程序包 org.anyline.util

类 ByteBuffer

java.lang.Object
org.anyline.util.ByteBuffer

public class ByteBuffer extends Object
  • 构造器详细资料

    • ByteBuffer

      public ByteBuffer(int endian)
    • ByteBuffer

      public ByteBuffer(int length, int endian)
    • ByteBuffer

      public ByteBuffer(byte[] bytes, int endian)
    • ByteBuffer

      public ByteBuffer(byte[] bytes, int endian, int offset)
  • 方法详细资料

    • put

      public ByteBuffer put(byte[] bs)
    • put

      public ByteBuffer put(byte b)
    • put

      public ByteBuffer put(int b)
    • put

      public ByteBuffer put(short s)
    • put

      public ByteBuffer put(long b)
    • put

      public ByteBuffer put(double b)
    • offset

      public ByteBuffer offset(int offset)
    • readByte

      public byte readByte()
    • readInt

      public int readInt()
    • readDouble

      public double readDouble()
    • step

      public ByteBuffer step(int count)
    • bytes

      public byte[] bytes()
    • getList

      public List getList()
    • setList

      public void setList(List list)
    • getBytes

      public byte[] getBytes()
    • setBytes

      public void setBytes(byte[] bytes)
    • getOffset

      public int getOffset()
    • setOffset

      public void setOffset(int offset)
    • endian

      public byte endian()
    • endian

      public void endian(int endian)
    • clear

      public ByteBuffer clear()