Versions in this module Expand all Collapse all v0 v0.1.3 May 29, 2022 Changes in this version + const TypeASCIINoNulSize + const TypeASCIISize + const TypeByteSize + const TypeIfdSize + const TypeLongSize + const TypeRationalSize + const TypeShortSize + const TypeSignedLongSize + const TypeSignedRationalSize + var ErrEmptyTag = errors.New("error empty tag") + var ErrNotEnoughData = errors.New("error not enough data to parse tag") + var ErrTagNotValid = errors.New("error tag not valid") + var ErrTagTypeNotValid = errors.New("Tag type not valid") + type ID uint16 + func (id ID) String() string + type Offset uint32 + type Rational struct + Denominator uint32 + Numerator uint32 + type SRational struct + Denominator int32 + Numerator int32 + type Tag struct + ID ID + Ifd uint8 + UnitCount uint32 + ValueOffset uint32 + func NewTag(tagID ID, tagType Type, unitCount uint32, valueOffset uint32, ifd uint8) (Tag, error) + func (t Tag) IsEmbedded() bool + func (t Tag) IsIfd() bool + func (t Tag) IsType(ty Type) bool + func (t Tag) Size() uint32 + func (t Tag) String() string + func (t Tag) Type() Type + type Type uint8 + const TypeASCII + const TypeASCIINoNul + const TypeByte + const TypeIfd + const TypeLong + const TypeRational + const TypeShort + const TypeSignedLong + const TypeSignedRational + const TypeSignedShort + const TypeUndefined + const TypeUnknown + func (tt Type) Is(t Type) bool + func (tt Type) IsValid() bool + func (tt Type) Size() uint8 + func (tt Type) String() string