Module ibm.jzos

Class ZonedExternalTrailingSignedLongP13Field

    • Constructor Detail

      • ZonedExternalTrailingSignedLongP13Field

        public ZonedExternalTrailingSignedLongP13Field​(int offset)
    • Method Detail

      • getLong

        public long getLong​(byte[] buffer,
                            int bufOffset)
        Description copied from class: ExternalDecimalAsLongField
        Answer a long value from the given byte array buffer, at the bufOffset + offset of this field. TODO need to verify proper runtime optimization of this method.
        Specified by:
        getLong in interface LongAccessor
        Overrides:
        getLong in class ZonedExternalTrailingSignedLongField
        Parameters:
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Returns:
        long
      • putLong

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

        public void putLong​(long value,
                            byte[] buffer)
                     throws java.lang.IllegalArgumentException
        Description copied from class: ExternalDecimalAsLongField
        Put a long value into the given byte array buffer, at the offset of this field.
        Specified by:
        putLong in interface LongAccessor
        Overrides:
        putLong in class ZonedExternalTrailingSignedLongField
        Parameters:
        value - the long value
        buffer - the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range