Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sid: catch more boundary violations | Philipp Gesang | 2018-10-30 | 1 | -0/+32 |
| | |||||
* | sid: fix off by one parsing bug | Philipp Gesang | 2018-10-30 | 1 | -0/+5 |
| | | | | | In the string representation, hyphen is always succeeded by a number so we need to terminate at input length minus one. | ||||
* | sid: sid_test: move conversion functions to result | Philipp Gesang | 2018-10-30 | 1 | -47/+34 |
| | | | | | | Get rid of all “StringFmt” APIs involving exceptions. There is now only the “decode” function which returns a result type. | ||||
* | sid_test: add unit tests for Sid.create | Philipp Gesang | 2018-10-30 | 1 | -0/+17 |
| | |||||
* | sid: optionally handle big endian in packet format codec | Philipp Gesang | 2018-10-30 | 1 | -0/+57 |
| | | | | | Oddly enough this only has an effect on the sub_auths since the 48 bits of “identifier authority” are always handled in big endian. | ||||
* | sid: implement decoder for “packet representation” | Philipp Gesang | 2018-10-28 | 1 | -4/+113 |
| | |||||
* | sid_test: unit test packed representation | Philipp Gesang | 2018-10-28 | 1 | -2/+34 |
| | |||||
* | sid: sid_test: add current state to repo | Philipp Gesang | 2018-10-28 | 1 | -0/+95 |