go-exif/v3/common
Dustin Oprea 120bcdb2a5 common/parser.go: Trim ASCII-NUL strings to exclude binary characters
This is for convenience. We're already ignoring whether it does or does
not have the NUL. Since having binary characters is likely an
undesireable flaw in the image and support for binary characters by EXIF
is probably just a vestigial, ridiculous feature, just stop short and
return the preceding characters if encountered. If we do actually need
the binary at some point in the future, we can circle back and
potentially add an option to do so.

Closes #55
2021-05-12 00:36:55 -04:00
..
assets
ifd.go backwards incompatible: Drop redundant variables 2020-07-11 13:15:18 -04:00
ifd_test.go backwards incompatible: Removed bridging functions 2020-07-11 13:15:12 -04:00
parser.go common/parser.go: Trim ASCII-NUL strings to exclude binary characters 2021-05-12 00:36:55 -04:00
parser_test.go adding float and double as types with name and size tests (#51) 2020-12-09 01:40:27 -05:00
testing_common.go
type.go type.go: Bugfix for newlines interpreted as binary. Add tests. 2021-04-28 00:20:52 -04:00
type_test.go type.go: Bugfix for newlines interpreted as binary. Add tests. 2021-04-28 00:20:52 -04:00
utility.go ifd_enumerate.go: Add date normalization. Skip altitude if zero denominator. 2020-07-17 02:39:59 -04:00
utility_test.go backwards incompatible: Move time utilities to exifcommon 2020-07-11 13:15:18 -04:00
value_context.go value_context.go: Bugfix for missing float and double cases in Values() 2020-12-15 01:18:58 -05:00
value_context_test.go adding float and double as types with name and size tests (#51) 2020-12-09 01:40:27 -05:00
value_encoder.go adding float and double as types with name and size tests (#51) 2020-12-09 01:40:27 -05:00
value_encoder_test.go value_encoder_test.go: Tweak test name for correctness 2020-12-09 01:44:58 -05:00