Function mnemos_common::porcelain::block_storage::block_write
source · [−]Expand description
Write the contents to a given block, starting at a given byte offset.
The offset is the number of bytes from the start of the block.
The offset must be 4-byte aligned. The bytes
buf must be four
byte aligned.
If this is the first write to a given block after opening, the entire block will be erased. Partial writes/rewrites are not currently supported. Subsequent reads will reflect the erased status.