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)
construct in interface Serializer<Integer>public byte[] getBytes(Integer o)
getBytes in interface Serializer<Integer>