iso9660

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package iso9660 provides functions for working with the ISO9660 filesystem.

Index

Constants

View Source
const (
	// Magic is the ISO 9660 magic signature.
	Magic = "CD001"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

Option is the functional option func.

type Options

type Options struct{}

Options is the functional options struct.

func NewDefaultOptions

func NewDefaultOptions(setters ...Option) *Options

NewDefaultOptions initializes a Options struct with default values.

type SuperBlock

type SuperBlock struct {
	FType    uint8
	ID       [5]uint8
	Version  uint8
	Flags    uint8
	SystemID [32]uint8
	VolumeID [32]uint8

	SpaceSize       [8]uint8
	EscapeSequences [8]uint8

	PublisherID [128]uint8

	ApplicationID [128]uint8
	// contains filtered or unexported fields
}

SuperBlock represents the ISO 9660 super block.

func (*SuperBlock) Encrypted

func (sb *SuperBlock) Encrypted() bool

Encrypted implements the SuperBlocker interface.

func (*SuperBlock) Is

func (sb *SuperBlock) Is() bool

Is implements the SuperBlocker interface.

func (*SuperBlock) Offset

func (sb *SuperBlock) Offset() int64

Offset implements the SuperBlocker interface.

func (*SuperBlock) Type

func (sb *SuperBlock) Type() string

Type implements the SuperBlocker interface.

Jump to

Keyboard shortcuts

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