MCPcopy Create free account
hub / github.com/andysworkshop/stm32plus / BlockDeviceOutputStream

Method BlockDeviceOutputStream

lib/src/device/BlockDeviceOutputStream.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 */
21
22 BlockDeviceOutputStream::BlockDeviceOutputStream(BlockDevice& device,uint32_t firstBlock,bool buffered)
23 : _device(device),
24 _block(device.getBlockSizeInBytes()) {
25
26 _blockIndex=firstBlock;
27 _indexInBlock=0;
28 _buffered=buffered;
29 }
30
31
32 /**

Callers

nothing calls this directly

Calls 1

getBlockSizeInBytesMethod · 0.45

Tested by

no test coverage detected