public void writeTo(ByteBuf byteBuf) {
    byteBuf.writeInt(blobIds.size());
    for (BlobId blobId : blobIds) {
      byteBuf.writeBytes(blobId.toBytes());
    }
  }
Writes the constituents of {@link BatchDeletePartitionRequestInfo} to the given {@link ByteBuf}.
@param byteBuf the {@link ByteBuf} to write to.
ambry-protocol/src/main/java/com/github/ambry/protocol/BatchDeletePartitionRequestInfo.java