class BorrowedBuffer

Defined at line 33 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

TODO(https://fxbug.dev/42124749): This interface needs tidying up. For now, add a class here

which stops the proliferation of BorrowedBuffer classes, which don't fully support the

BlockBuffer interface.

Public Methods

void BorrowedBuffer (vmoid_t vmoid)

Defined at line 36 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

uint16_t vmoid ()

Defined at line 38 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

void * Data (size_t index)

Defined at line 39 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

const void * Data (size_t index)

Defined at line 40 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

zx_handle_t Vmo ()

Defined at line 41 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

void BorrowedBuffer (void * data)

Defined at line 43 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

size_t capacity ()

Defined at line 55 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h

uint32_t BlockSize ()

Defined at line 56 of file ../../src/storage/lib/vfs/cpp/transaction/buffered_operations_builder.h