class PlatformPartitionSerializer implements Serializer<PlatformPartition> {

   @Override
   public byte[] serialize(PlatformPartition value) throws IllegalArgumentException {
      return ByteUtil.intToBytes(value.getId());
   }

}