device

package
v0.0.0-...-1921f43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	ImageFile *os.File
	Mounted   bool
}

func New

func New(file *os.File, bytes int64) (*Device, error)

func (*Device) Read

func (device *Device) Read(position, size int64) []byte

func (*Device) Unmount

func (device *Device) Unmount()

func (*Device) Write

func (device *Device) Write(position int64, bytes []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL