fat16

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UTF16BytesToString

func UTF16BytesToString(b []byte, o binary.ByteOrder) string

Types

type FAT16Fs

type FAT16Fs struct {
	// contains filtered or unexported fields
}

func New

func New(decoder fslib.ReadSeekerAt) (*FAT16Fs, error)

func (*FAT16Fs) Name

func (m *FAT16Fs) Name() string

func (*FAT16Fs) Open

func (m *FAT16Fs) Open(name string) (f forensicfs.ForensicItem, err error)

type FAT16Item

type FAT16Item struct {
	*io.SectionReader
	// contains filtered or unexported fields
}

func NewFAT16Item

func NewFAT16Item(name string, fs *FAT16Fs, directoryEntry *directoryEntry) *FAT16Item

func (*FAT16Item) Attributes

func (m *FAT16Item) Attributes() map[string]interface{}

func (*FAT16Item) IsDir

func (m *FAT16Item) IsDir() bool

func (*FAT16Item) Name

func (m *FAT16Item) Name() string

func (*FAT16Item) Read

func (s *FAT16Item) Read(p []byte) (n int, err error)

func (*FAT16Item) ReadAt

func (s *FAT16Item) ReadAt(p []byte, off int64) (n int, err error)

func (*FAT16Item) Readdirnames

func (m *FAT16Item) Readdirnames(count int) ([]string, error)

func (*FAT16Item) Seek

func (s *FAT16Item) Seek(offset int64, whence int) (int64, error)

func (*FAT16Item) Size

func (m *FAT16Item) Size() int64

type LFNEntry

type LFNEntry struct {
	SequenceNumber  uint8
	Filename1       [10]byte
	Attributes      byte
	Type            byte
	Checksum        byte
	Filename2       [12]byte
	Startingcluster uint16
	Filename3       [4]byte
}

Jump to

Keyboard shortcuts

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