class MergeBlobDataProducer

Defined at line 45 of file ../../src/storage/blobfs/blob_data_producer.h

Merges two spans together with optional padding between them.

- The length of the spans plus the padding must add up to a multiple of |kBlobfsBlockSize|.

- The padding must not be greater than or equal to |kBlobfsBlockSize|.

- The first span must point to a buffer that can accommodate up to |kBlobfsBlockSize| - 1 bytes

written after the span.

- The second span must point to a buffer than can accommodate up to |kBlobfsBlockSize| - 1 bytes

written before the span.

Public Methods

void MergeBlobDataProducer (std::span<uint8_t> first, size_t padding, std::span<uint8_t> second)

Defined at line 39 of file ../../src/storage/blobfs/blob_data_producer.cc

std::span<const uint8_t> Consume (uint64_t max)

BlobDataProducer implementation:

Defined at line 50 of file ../../src/storage/blobfs/blob_data_producer.cc