code: @Override
      public byte[] serialize() {
          byte[] result = new byte[SERIALIZATION_LENGTH];
          BitConverter.writeLong(result, 0, this.segmentId);
          BitConverter.writeLong(result, Long.BYTES, this.offset);
          return result;
      }
docs: region Overrides