Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sid: sid_test: handle large ias correctly | Philipp Gesang | 2018-11-07 | 1 | -9/+69 |
| | | | | | In string format, the “identifier authority” is quirky: from 1 << 32 on the spec requires that exactly 12 hex digits be printed. | ||||
* | sid: add Sid.{of,to}_bytes aliases | Philipp Gesang | 2018-11-06 | 1 | -0/+3 |
| | | | | Establish symmetry with of_string / to_string and the StringFmt module. | ||||
* | sid: sid_test: validate identifier authority on create() | Philipp Gesang | 2018-11-06 | 1 | -0/+1 |
| | | | | Reject ia’s greater than six bytes can encompass. | ||||
* | sid: add channel handlers for binary representation | Philipp Gesang | 2018-11-03 | 1 | -0/+26 |
| | |||||
* | add linking exception to license | Philipp Gesang | 2018-11-03 | 1 | -1/+1 |
| | |||||
* | sid: predefine more well known constants | Philipp Gesang | 2018-11-03 | 1 | -9/+125 |
| | | | | Add the constants from MS-DTYP 2.4.2.4 to Sid.WellKnown. | ||||
* | sid: catch more boundary violations | Philipp Gesang | 2018-10-30 | 1 | -1/+16 |
| | |||||
* | sid: fix off by one parsing bug | Philipp Gesang | 2018-10-30 | 1 | -1/+1 |
| | | | | | 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 | -17/+20 |
| | | | | | | Get rid of all “StringFmt” APIs involving exceptions. There is now only the “decode” function which returns a result type. | ||||
* | add readme and license text | Philipp Gesang | 2018-10-30 | 1 | -0/+2 |
| | |||||
* | sid: define more constant authorities from MS-DTYP | Philipp Gesang | 2018-10-30 | 1 | -5/+11 |
| | |||||
* | sid: optionally handle big endian in packet format codec | Philipp Gesang | 2018-10-30 | 1 | -32/+36 |
| | | | | | 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 | -5/+50 |
| | |||||
* | xxd: add binary-text conversion helper | Philipp Gesang | 2018-10-28 | 1 | -19/+3 |
| | |||||
* | sid: sid_test: add current state to repo | Philipp Gesang | 2018-10-28 | 1 | -0/+199 |