docs: SnapshotDescriptor copyTo(Buffer buffer) {
      this.buffer = buffer
          .writeLong(index)
          .writeLong(timestamp)
          .writeInt(version)
          .writeBoolean(locked)
          .skip(BYTES - buffer.position())
          .flush();
      return this;
    }