283
283
{[]byte{0x00, 0x83, 0x01, 0x00}, false, tagAndLength{}},
284
284
{[]byte{0x1f, 0x85}, false, tagAndLength{}},
285
285
{[]byte{0x30, 0x80}, false, tagAndLength{}},
287
{[]byte{0xa0, 0x82, 0x00, 0x01}, false, tagAndLength{}},
289
{[]byte{0xa0, 0x84, 0x7f, 0xff, 0xff, 0xff}, true, tagAndLength{2, 0, 0x7fffffff, true}},
291
{[]byte{0xa0, 0x84, 0x80, 0x00, 0x00, 0x00}, false, tagAndLength{}},
288
294
func TestParseTagAndLength(t *testing.T) {