public class IntBytes extends Object implements Serializer<Integer>
Converts between Integer objects and 4-byte big-endian arrays. Provides consistent byte ordering for cross-platform compatibility.
Serialization format:
| Constructor and Description |
|---|
IntBytes() |
public Integer construct(byte[] b)
Serializerconstruct in interface Serializer<Integer>public byte[] getBytes(Integer o)
SerializergetBytes in interface Serializer<Integer>