mn

package
v0.5.13 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown  = MagicNumber(0)
	TIFF_6_0 = MagicNumber(42)
)
View Source
const (
	ErrUnsupportedMagicNumber = "unsupported magic number: %v"
)
View Source
const MagicNumberSize = 2

Variables

This section is empty.

Functions

This section is empty.

Types

type MagicNumber

type MagicNumber bt.Word

MagicNumber is the TIFF 6.0 magic number.

func New

func New(rs *rs.ReaderSeeker, byteOrder bo.ByteOrder) (mn MagicNumber, err error)

New reads the magic number from the stream and returns it.

Jump to

Keyboard shortcuts

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