TheVice
d8d9419092
Fix shared library tests for Windows ( #1074 )
...
Add copying of shared library to the output directory with a test binary.
[binary] removed using of non unsigned char as argument at
'std::isspace' function that was provokes undefined behavior.
[.github/workflows/build.yml] enabled run of test at the
'windows-latest' environment.
2021-12-15 13:38:09 -06:00
Robert Sebastian Herlim
2f8997565b
Use static_cast<unsigned char> on DecodeBase64 to prevent SEGV on negative values ( #1051 )
2021-10-20 10:18:08 -05:00
Ian Taylor
9f2781b527
Fix clang format ( #854 )
...
Fix invocation of clang-format in CMakeLists and apply clang-format.
2020-04-29 09:40:33 -05:00
Andy Maloney
6e87b37034
Modernize: Use "using" instead of "typedef" ( #754 )
2019-10-02 11:14:49 -05:00
Stefan Reinhold
d0da14404e
Fix include for std::isspace, fixes #621 ( #622 )
2018-09-04 08:34:18 -05:00
Stefan Reinhold
45d9035a33
Skip newlines in binary decoding ( Fix #387 ) ( #616 )
...
* Skip newlines in binary decoding
This fixes #387
* Skip all whitespace characters
This also removes spaces and tabs in addition to newlines.
2018-09-03 15:55:45 -05:00
Jesse Beder
ad712c4f2d
Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting
2015-01-24 12:19:20 -06:00
Jesse Beder
9b4db068bb
Run clang-format
2014-03-22 12:49:16 -05:00
Jesse Beder
683c60f490
Removed traces of old-api Node
2012-05-19 01:19:03 -05:00
Jesse Beder
01eb370300
Added operator >> overload for Binary
2012-01-21 02:01:37 -06:00
Jesse Beder
d760d037ca
Renamed the base64 methods, and switched the EncodeBase64 one to return a string (to make it easy to use elsewhere)
2012-01-21 01:33:49 -06:00
Jesse Beder
6105d4cfeb
Refactored the base64 binary to its own space with a unified class that (will) be used for parsing (in addition to emitting)
2012-01-21 01:18:37 -06:00