net.metanotion.io.data

## Class IntBytes

- java.lang.Object
- - net.metanotion.io.data.IntBytes

- All Implemented Interfaces:
    Serializer<Integer>

      public class IntBytes
      extends Object
      implements Serializer<Integer>

  Integer serializer using 4-byte big-endian representation.

  Converts between Integer objects and 4-byte big-endian arrays. Provides consistent byte ordering for cross-platform compatibility.

  Serialization format:

  - Byte 0: Most significant byte (bits 24-31)
  - Byte 1: Second most significant byte (bits 16-23)
  - Byte 2: Third most significant byte (bits 8-15)
  - Byte 3: Least significant byte (bits 0-7)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IntBytes()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | `construct(byte[] b)`
    `byte[]` | `getBytes(Integer o)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IntBytes

          public IntBytes()

  - ### Method Detail

    - #### construct

          public Integer construct(byte[] b)

      Specified by:
        `construct` in interface `Serializer<Integer>`

    - #### getBytes

          public byte[] getBytes(Integer o)

      Specified by:
        `getBytes` in interface `Serializer<Integer>`