Class BigIntBcdCodec

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger decodeBinaryField​(byte[] value, int pos, int len)  
      java.math.BigInteger decodeField​(java.lang.String value)  
      byte[] encodeBinaryField​(java.math.BigInteger value)  
      java.lang.String encodeField​(java.math.BigInteger value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BigIntBcdCodec

        public BigIntBcdCodec()
      • BigIntBcdCodec

        public BigIntBcdCodec​(boolean rightPadded)
    • Method Detail

      • decodeBinaryField

        public java.math.BigInteger decodeBinaryField​(byte[] value,
                                                      int pos,
                                                      int len)
        Specified by:
        decodeBinaryField in interface CustomBinaryField<java.math.BigInteger>
      • encodeBinaryField

        public byte[] encodeBinaryField​(java.math.BigInteger value)
        Specified by:
        encodeBinaryField in interface CustomBinaryField<java.math.BigInteger>
      • decodeField

        public java.math.BigInteger decodeField​(java.lang.String value)
        Specified by:
        decodeField in interface CustomFieldDecoder<java.math.BigInteger>
      • encodeField

        public java.lang.String encodeField​(java.math.BigInteger value)
        Specified by:
        encodeField in interface CustomFieldEncoder<java.math.BigInteger>