Documentation ¶
Index ¶
Constants ¶
const NO_COPYRIGHT string = "© Unknown Photographer"
const NO_DESCRIPTION string = "Unidentified Photo"
Variables ¶
This section is empty.
Functions ¶
func ReadUTF16 ¶
ReadUTF16 required to correctly read the metadata JSON files via https://stackoverflow.com/questions/15783830/how-to-read-utf16-text-file-to-string-in-golang/15794113
func ScanUTF16LinesFunc ¶
ScanUTF16LinesFunc returns two functions dependent upon byteOrder: SplitFunc is a split function for a Scanner that returns each line of text, stripped of any trailing end-of-line marker. The returned line may be empty. The end-of-line marker is one optional carriage return followed by one mandatory newline. In regular expression notation, it is `\r?\n`. The last non-empty line of input will be returned even if it has no newline. OrderFunc returns byte order
func UTF16BytesToString ¶
UTF16BytesToString converts UTF-16 encoded bytes, in big or little endian byte order, to a UTF-8 encoded string.
Types ¶
This section is empty.