Module ibm.jzos

Class ZonedExternalTrailingSignedIntP8Field

    • Constructor Detail

      • ZonedExternalTrailingSignedIntP8Field

        public ZonedExternalTrailingSignedIntP8Field​(int offset)
    • Method Detail

      • getInt

        public int getInt​(byte[] buffer,
                          int bufOffset)
        Description copied from class: ExternalDecimalAsIntField
        Answer an int value from the given byte array buffer, at the bufOffset + offset of this field.
        Specified by:
        getInt in interface IntAccessor
        Overrides:
        getInt in class ZonedExternalTrailingSignedIntField
        Parameters:
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Returns:
        int
      • putInt

        public void putInt​(int value,
                           byte[] buffer,
                           int bufOffset)
                    throws java.lang.IllegalArgumentException
        Description copied from class: ExternalDecimalAsIntField
        Put an int value into the given byte array buffer, at the bufOffset + offset of this field.
        Specified by:
        putInt in interface IntAccessor
        Overrides:
        putInt in class ZonedExternalTrailingSignedIntField
        Parameters:
        value - the int value
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range
      • putInt

        public void putInt​(int value,
                           byte[] buffer)
                    throws java.lang.IllegalArgumentException
        Description copied from class: ExternalDecimalAsIntField
        Put an int value into the given byte array buffer, at the offset of this field.
        Specified by:
        putInt in interface IntAccessor
        Overrides:
        putInt in class ZonedExternalTrailingSignedIntField
        Parameters:
        value - the signed int value
        buffer - the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range