Class Serializers.ShortSerializer
- java.lang.Object
-
- com.complexible.common.primitives.Serializers.ShortSerializer
-
- Enclosing class:
- Serializers
public static final class Serializers.ShortSerializer extends java.lang.Object
Serializes the given short to 2 bytes.
-
-
Constructor Summary
Constructors Constructor Description ShortSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
deserialize(byte[] bytes)
short
deserialize(byte[] bytes, int offset)
byte[]
serialize(short value)
void
serialize(short value, byte[] bytes, int offset)
-