Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unpack: Fix negative signed integer unpacking calculation | Tomasz Kramkowski | 2021-05-31 | 1 | -3/+13 |
| | | | | | | | | | | | | | | Currently the calculation is just wrong since it effectively relies on the widths of the signed and unsigned integer types and on wrapping-on-assignment behavior. I have no idea why I wrote it like this, it seems obviously wrong in retrospect. The new behavior ensure that this succeeds in situations where type widths are not correct. The new code sets vals to the minimum possible two's complement signed value (I just realised this code now assumes two's complement) and then offsets it with the value part of the signed integer. | ||||
* | unpack: Additional trace information. | Tomasz Kramkowski | 2020-09-12 | 1 | -2/+2 |
| | |||||
* | unpack: Actually use the buffer offset... | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | Move BITMASK and endian enum to common.h | Tomasz Kramkowski | 2020-09-12 | 1 | -5/+0 |
| | |||||
* | unpack: Fix default case mistake | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | unpack: Make input buffer const | Tomasz Kramkowski | 2020-09-12 | 1 | -3/+3 |
| | |||||
* | Implement double deserialisation. | Tomasz Kramkowski | 2020-09-11 | 1 | -1/+9 |
| | |||||
* | unpack: Replace perfectly readable code with macro abomination. | Tomasz Kramkowski | 2020-09-11 | 1 | -29/+32 |
| | |||||
* | unpack: Add BITMASK helper macro | Tomasz Kramkowski | 2020-09-11 | 1 | -1/+3 |
| | |||||
* | unpack: Implement float unpacking. | Tomasz Kramkowski | 2020-09-10 | 1 | -2/+40 |
| | |||||
* | Implement unpacking arrays | Tomasz Kramkowski | 2020-09-10 | 1 | -4/+22 |
| | |||||
* | Allow for a conversion count | Tomasz Kramkowski | 2020-09-10 | 1 | -26/+29 |
| | |||||
* | Make functions static | Tomasz Kramkowski | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | Fix up bugs and add tracing to unpack | Tomasz Kramkowski | 2020-09-09 | 1 | -45/+34 |
| | |||||
* | Add license headers | Tomasz Kramkowski | 2020-09-09 | 1 | -0/+4 |
| | |||||
* | init | Tomasz Kramkowski | 2020-08-20 | 1 | -0/+123 |