Module ibm.jzos

Class BinarySignedIntL3Field

All Implemented Interfaces:
Field, IntAccessor

public class BinarySignedIntL3Field extends BinarySignedIntField
  • Constructor Details

    • BinarySignedIntL3Field

      public BinarySignedIntL3Field(int offset)
  • Method Details

    • getInt

      public int getInt(byte[] buffer)
      Description copied from class: BinaryAsIntField
      Answer an int from the given byte array buffer, at the offset of this field.
      Specified by:
      getInt in interface IntAccessor
      Overrides:
      getInt in class BinarySignedIntField
      Parameters:
      buffer - the byte array
      Returns:
      int
    • getInt

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

      public void putInt(int value, byte[] buffer)
      Description copied from class: BinaryAsIntField
      Put a signed int into the given byte array buffer, at the offset of this field.
      Specified by:
      putInt in interface IntAccessor
      Overrides:
      putInt in class BinarySignedIntField
      Parameters:
      value - the signed int value
      buffer - the byte array
    • putInt

      public void putInt(int value, byte[] buffer, int bufOffset)
      Description copied from class: BinaryAsIntField
      Put a signed int into thegiven byte array buffer, at the bufOffset + offset of this field.
      Specified by:
      putInt in interface IntAccessor
      Overrides:
      putInt in class BinarySignedIntField
      Parameters:
      value - the signed int value
      buffer - the byte array
      bufOffset - the additional offset into the byte array