Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chip ¶
type Chip struct {
// contains filtered or unexported fields
}
func NewChip ¶
func NewChip(eraseBlockSize, size int64, backing ReadWriterAt) *Chip
func (*Chip) EraseBlock ¶
func (*Chip) EraseBlockCount ¶
func (*Chip) EraseBlockSize ¶
func (*Chip) ReadAtBlock ¶
type EraseBlock ¶
type EraseBlock struct {
// contains filtered or unexported fields
}
func NewEraseBlock ¶
func NewEraseBlock(size int64, backing ReadWriterAt) *EraseBlock
func (*EraseBlock) Erase ¶
func (b *EraseBlock) Erase() error
func (*EraseBlock) Size ¶
func (b *EraseBlock) Size() int64
type ReadWriterAt ¶
func NewOffsetReadWriterAt ¶
func NewOffsetReadWriterAt(backing ReadWriterAt, offset int64) ReadWriterAt
Click to show internal directories.
Click to hide internal directories.