Documentation
¶
Index ¶
- func ParseField(in io.Reader, start int64, order binary.ByteOrder) (*Field, *Offset, *Data, error)
- func ParseFile(in io.ReadSeeker) ([]payload.Section, error)
- func ParseIFD(in io.Reader, start int64, order binary.ByteOrder) (*IFD, int64, []*Offset, []*Data, error)
- func ReadBuffer(buf []byte, order binary.ByteOrder) uint32
- type Data
- func (d *Data) Contains(offset int64) bool
- func (d *Data) ContainsRegion(start int64, end int64) bool
- func (d *Data) Find(offset int64) (parser.Region, error)
- func (d *Data) Parse(in io.ReadSeeker, order binary.ByteOrder) error
- func (d *Data) Render() ([]payload.Section, error)
- func (d *Data) Split(start int64, end int64, newBit parser.Region) error
- type Field
- type Header
- type IFD
- func (i *IFD) Contains(offset int64) bool
- func (i *IFD) ContainsRegion(start int64, end int64) bool
- func (i *IFD) Find(offset int64) (parser.Region, error)
- func (i *IFD) FindField(id uint16) (*Field, error)
- func (i *IFD) Render() ([]payload.Section, error)
- func (i *IFD) Split(start int64, end int64, newBit parser.Region) error
- type Offset
- func (o *Offset) Contains(offset int64) bool
- func (o *Offset) ContainsRegion(start int64, end int64) bool
- func (o *Offset) Find(offset int64) (parser.Region, error)
- func (o *Offset) Parse(in io.ReadSeeker, order binary.ByteOrder) ([]*Data, error)
- func (o *Offset) Render() ([]payload.Section, error)
- func (o *Offset) Split(start int64, end int64, newBit parser.Region) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseField ¶
Types ¶
type Field ¶
type Header ¶
type IFD ¶
Click to show internal directories.
Click to hide internal directories.