com.ibm.jzos.fields

Interface BigDecimalAccessor

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.math.BigDecimal getBigDecimal(byte[] buffer)
      Answer a BigDecimal from the given byte array buffer, at the offset of this field.
      java.math.BigDecimal getBigDecimal(byte[] buffer, int bufOffset)
      Answer a BigDecimal from the given byte array buffer, at the bufOffset + offset of this field.
      void putBigDecimal(java.math.BigDecimal value, byte[] buffer)
      Put a BigDecimal into the given byte array buffer, at the offset of this field.
      void putBigDecimal(java.math.BigDecimal value, byte[] buffer, int bufOffset)
      Put a BigDecimal into the given byte array buffer, at the bufOffset + offset of this field.
    • Method Detail

      • getBigDecimal

        java.math.BigDecimal getBigDecimal(byte[] buffer)
        Answer a BigDecimal from the given byte array buffer, at the offset of this field.
        Parameters:
        buffer - the byte array
        Returns:
        BigDecimal
      • getBigDecimal

        java.math.BigDecimal getBigDecimal(byte[] buffer,
                                         int bufOffset)
        Answer a BigDecimal from the given byte array buffer, at the bufOffset + offset of this field.
        Parameters:
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Returns:
        BigDecimal
      • putBigDecimal

        void putBigDecimal(java.math.BigDecimal value,
                         byte[] buffer)
                           throws java.lang.IllegalArgumentException
        Put a BigDecimal into the given byte array buffer, at the offset of this field.
        Parameters:
        value - the BigDecimal value
        buffer - the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range
      • putBigDecimal

        void putBigDecimal(java.math.BigDecimal value,
                         byte[] buffer,
                         int bufOffset)
                           throws java.lang.IllegalArgumentException
        Put a BigDecimal into the given byte array buffer, at the bufOffset + offset of this field.
        Parameters:
        value - the BigDecimal value
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range
© Copyright IBM Corporation 2005, 2014.