package
3.0.1
Repository: https://github.com/dsoprea/go-exif.git
Documentation: pkg.go.dev

# Functions

DumpBytes prints a list of hex-encoded bytes.
DumpBytesClause prints a list like DumpBytes(), but encapsulated in "[]byte { ..
DumpBytesClauseToString returns a comma-separated list of hex-encoded bytes.
DumpBytesToString returns a stringified list of hex-encoded bytes.
ExifFullTimestampString produces a string like "2018:11:30 13:01:49" from a `time.Time` struct.
Format returns a stringified value for the given encoding.
Format returns a stringified value for the given encoding.
No description provided by the author
No description provided by the author
GetTypeByName returns the `TagTypePrimitive` for the given type name.
IsTime returns true if the value is a `time.Time`.
LoadStandardIfds loads the standard IFDs into the mapping.
NewIfdIdentity returns a new IfdIdentity struct.
NewIfdIdentityFromString parses a string like "IFD/Exif" or "IFD1" or something more exotic with custom IFDs ("SomeIFD4/SomeChildIFD6").
NewIfdMapping returns a new IfdMapping struct.
NewIfdMappingWithStandard retruns a new IfdMapping struct preloaded with the standard IFDs.
No description provided by the author
NewValueContext returns a new ValueContext struct.
NewValueEncoder returns a new ValueEncoder.
ParseExifFullTimestamp parses dates like "2018:11:30 13:01:49" into a UTC `time.Time` struct.
TranslateStringToType converts user-provided strings to properly-typed values.

# Constants

TypeAscii describes an encoded list of characters that is terminated with a NUL in its encoded form.
TypeAsciiNoNul is just a pseudo-type, for our own purposes.
TypeByte describes an encoded list of bytes.
TypeDouble describes an encoded list of doubles.
TypeFloat describes an encoded list of floats.
TypeLong describes an encoded list of longs.
TypeRational describes an encoded list of rationals.
TypeShort describes an encoded list of shorts.
TypeSignedLong describes an encoded list of signed longs.
TypeSignedRational describes an encoded list of signed rationals.
TypeUndefined describes an encoded value that has a complex/non-clearcut interpretation.

# Variables

EncodeDefaultByteOrder is the default byte-order for encoding operations.
No description provided by the author
ErrNotEnoughData is used when there isn't enough data to accommodate what we're trying to parse (sizeof(type) * unit_count).
ErrNotFarValue indicates that an offset-based lookup was attempted for a non-offset-based (embedded) value.
No description provided by the author
ErrUnhandledUndefinedTypedTag is used when we try to parse a tag that's recorded as an "unknown" type but not a documented tag (therefore leaving us not knowning how to read it).
ErrWrongType is used when we try to parse anything other than the current type.
Ifd1StandardIfdIdentity represents the IFD path for IFD1.
IfdExifIopStandardIfdIdentity represents the IFD path for IFD0/Exif0/Iop0.
IfdExifStandardIfdIdentity represents the IFD path for IFD0/Exif0.
IfdGPSInfoStandardIfdIdentity represents the IFD path for IFD0/GPSInfo0.
IfdStandardIfdIdentity represents the IFD path for IFD0.
Default byte order for tests.
TODO(dustin): Rename TypeNames() to typeNames() and add getter.

# Structs

BasicTag describes a single tag for any purpose.
EncodedData encapsulates the compound output of an encoding operation.
IfdIdentity represents a single IFD path and provides access to various information and representations.
IfdIdentityPart represents one component in an IFD path.
IfdMapping describes all of the IFDs that we currently recognize.
IfdTag describes a single IFD tag and its parent (if any).
IfdTagIdAndIndex represents a specific part of the IFD path.
MappedIfd is one node in the IFD-mapping.
Parser knows how to parse all well-defined, encoded EXIF types.
Rational describes an unsigned rational value.
SignedRational describes a signed rational value.
ValueContext embeds all of the parameters required to find and extract the actual tag value.
ValueEncoder knows how to encode values of every type to bytes.

# Type aliases

TagTypePrimitive is a type-alias that let's us easily lookup type properties.