Class Serializers.LongSerializer

  • Enclosing class:
    Serializers

    public static final class Serializers.LongSerializer
    extends java.lang.Object
    Serializes the given long to 8 bytes.
    • Constructor Summary

      Constructors 
      Constructor Description
      LongSerializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long deserialize​(byte[] bytes)  
      long deserialize​(byte[] bytes, int offset)  
      byte[] serialize​(long value)  
      void serialize​(long value, byte[] bytes, int offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongSerializer

        public LongSerializer()
    • Method Detail

      • serialize

        public byte[] serialize​(long value)
      • serialize

        public void serialize​(long value,
                              byte[] bytes,
                              int offset)
      • deserialize

        public long deserialize​(byte[] bytes)
      • deserialize

        public long deserialize​(byte[] bytes,
                                int offset)