summaryrefslogtreecommitdiff
path: root/sid.ml
Commit message (Collapse)AuthorAgeFilesLines
* sid: predefine more well known constantsPhilipp Gesang2018-11-031-9/+125
| | | | Add the constants from MS-DTYP 2.4.2.4 to Sid.WellKnown.
* sid: catch more boundary violationsPhilipp Gesang2018-10-301-1/+16
|
* sid: fix off by one parsing bugPhilipp Gesang2018-10-301-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 resultPhilipp Gesang2018-10-301-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 textPhilipp Gesang2018-10-301-0/+2
|
* sid: define more constant authorities from MS-DTYPPhilipp Gesang2018-10-301-5/+11
|
* sid: optionally handle big endian in packet format codecPhilipp Gesang2018-10-301-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 Gesang2018-10-281-5/+50
|
* xxd: add binary-text conversion helperPhilipp Gesang2018-10-281-19/+3
|
* sid: sid_test: add current state to repoPhilipp Gesang2018-10-281-0/+199