Branch: Tag:

2015-09-26

2015-09-26 21:53:43 by Martin Nilsson <nilsson@fastmail.com>

Type cls and tag stronger.

108:       protected string(0..255) encode_tag()    { -  int tag = get_tag(); -  int cls = get_cls(); +  int(0..3) cls = get_cls(); +  int(1..) tag = get_tag();    if (tag < 31)    return [string(0..255)]sprintf("%c",    (cls << 6) | (constructed << 5) | tag);