模块 mxlib.api

类 ImageStream


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

      • ImageStream

        public ImageStream()
      • ImageStream

        public ImageStream​(int size)
      • ImageStream

        public ImageStream​(byte[] bytes)
      • ImageStream

        public ImageStream​(ByteOrder byteOrder)
      • ImageStream

        public ImageStream​(int size,
                           ByteOrder byteOrder)
      • ImageStream

        public ImageStream​(byte[] bytes,
                           ByteOrder byteOrder)
      • ImageStream

        public ImageStream​(ByteBuffer buffer)
    • 方法详细资料

      • ensure

        public void ensure​(int needs)
      • hasByte

        public boolean hasByte()
      • hasBytes

        public boolean hasBytes​(int needs)
      • skip

        public void skip​(int n)
      • get

        public int get()
      • get

        public void get​(byte[] bytes,
                        int offset,
                        int size)
      • getShort

        public int getShort()
      • getInt

        public int getInt()
      • getLong

        public long getLong()
      • put

        public ImageStream put​(byte[] bytes,
                               int offset,
                               int size)
      • putShort

        public ImageStream putShort​(short value)
      • putShort

        public ImageStream putShort​(int value)
      • getPosition

        public int getPosition()
      • getSize

        public int getSize()
      • getBytes

        public byte[] getBytes()
      • setPosition

        public void setPosition​(int offset)
      • toArray

        public byte[] toArray()