Commit Graph

5 Commits (6579e82b732d117f690de201d5932104f655e166)

Author SHA1 Message Date
Dustin Oprea dca55bf8ca type.go: Bugfix for newlines interpreted as binary. Add tests.
Fixes #55
2021-04-28 00:20:52 -04:00
Dustin Oprea 443fda923a common/type.go: Truncate ASCII strings at the first NUL
This can prevent the string from being classified as "binary" and its
value being suppressed in output.
2021-01-31 17:15:54 -05:00
Wendel Hime 325de3c5bb
adding float and double as types with name and size tests (#51)
add translate to type cases

replace float compare by Nextafter and Nextafter32

add parser for floats and doubles

add float and double parsers

add support for doubles and floats in FormatFrom functions

add ReadFloats and ReadDoubles for context

add float32 and double encoder

merging

merge

add float and double parsers

add ReadFloats and ReadDoubles for context

add float32 and double encoder

removing log alias from parser

removing log alias from parser_test

removing log alias from type

removing log alias from type_test

removing log alias from value_context

removing aliases from value_contex_test

removing log alias from value_encoder

removing log alias from value_encoder_test

update parser slices from floats and doubles

merge

update values for tests

raise exception when parsing with different expected size
2020-12-09 01:40:27 -05:00
Dustin Oprea de21411905 common/type.go: No longer format text verbatim if has binary 2020-08-26 18:56:25 -04:00
Dustin Oprea 56058635d0 Seed v3 release. Copy from v2 release. 2020-07-11 12:12:48 -04:00