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

Method BlockDeviceInputStream

lib/src/device/BlockDeviceInputStream.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 */
18
19 BlockDeviceInputStream::BlockDeviceInputStream(BlockDevice& device,uint32_t firstBlock)
20 : _device(device),
21 _block(device.getBlockSizeInBytes()) {
22
23 _blockIndex=_originalBlockIndex=firstBlock;
24 _indexInBlock=0;
25 }
26
27
28 /**

Callers

nothing calls this directly

Calls 1

getBlockSizeInBytesMethod · 0.45

Tested by

no test coverage detected