Class TypesReader


  • public class TypesReader
    extends java.lang.Object
    TypesReader.
    • Constructor Detail

      • TypesReader

        public TypesReader​(byte[] arr)
      • TypesReader

        public TypesReader​(byte[] arr,
                           int off)
      • TypesReader

        public TypesReader​(byte[] arr,
                           int off,
                           int len)
    • Method Detail

      • readByte

        public int readByte()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readBytes

        public byte[] readBytes​(int len)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readBytes

        public void readBytes​(byte[] dst,
                              int off,
                              int len)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readBoolean

        public boolean readBoolean()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readUINT32

        public int readUINT32()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readUINT64

        public long readUINT64()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • readMPINT

        public java.math.BigInteger readMPINT()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readByteString

        public byte[] readByteString()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString​(java.lang.String charsetName)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readNameList

        public java.lang.String[] readNameList()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • remain

        public int remain()