modulepackage
0.0.0-20200610044640-bc9ca208b413
Repository: https://github.com/dsoprea/go-iptc.git
Documentation: pkg.go.dev
# Functions
DecodeTag parses one tag from the stream.
DumpBytesToString returns a stringified list of hex-encoded bytes.
GetDictionaryFromParsedTags returns all tags.
GetModuleRootPath returns the root-path of the module.
GetSimpleDictionaryFromParsedTags returns a dictionary of tag names to tag values, where all values are strings and any tag that had a non-printable value is omitted.
GetTagInfo return the info for the given tag.
GetTestAssetsPath returns the path of the test-assets.
GetTestDataFilepath returns the file-path of the common test-data.
ParseStream parses a serial sequence of tags and tag data out of the stream.
# Variables
ErrInvalidTagMarker indicates that the tag can not be parsed because the tag boundary marker is not the expected value.
ErrTagNotStandard indicates that the given tag is not known among the documented standard set.
# Structs
StreamTagInfo encapsulates the properties of each tag.
StreamTagKey is a convenience type that lets us key our index with a high- level type.
Tag describes one tag read from the stream.
# Type aliases
ParsedTags is the complete, unordered set of tags parsed from the stream.
TagData is a convenience wrapper around a byte-slice.