Support as<uint8_t>/as<int8_t>.

Fix issue 844/848.
This commit is contained in:
Chen
2020-06-15 23:31:59 +08:00
committed by GitHub
parent 33316d531b
commit 4dbfeb0bbc
3 changed files with 55 additions and 17 deletions

View File

@@ -5,6 +5,7 @@
## HEAD ##
* Throws an exception when trying to parse a negative number as an unsigned integer.
* Supports the `as<int8_t>`/`as<uint8_t>`, which throws an exception when the value exceeds the range of `int8_t`/`uint8_t`.
## 0.6.0 ##