We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80da7e commit 5ae8fd1Copy full SHA for 5ae8fd1
src/machine/flash.go
@@ -43,6 +43,11 @@ type BlockDevice interface {
43
io.ReaderAt
44
45
// WriteAt writes the given number of bytes to the block device.
46
+ //
47
+ // This interface directly writes data to the underlying block device.
48
+ // Different kinds of devices have different requirements: most can only
49
+ // write data after the page has been erased, and many can only write data
50
+ // with specific alignment (such as 4-byte alignment).
51
io.WriterAt
52
53
// Size returns the number of bytes in this block device.
0 commit comments