Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseTagAndLength (0.33 sec)

  1. src/encoding/asn1/asn1_test.go

    	// Long tag number form may not be used for tags that fit in short form.
    	{[]byte{0x1f, 0x1e, 0x00}, false, tagAndLength{}},
    }
    
    func TestParseTagAndLength(t *testing.T) {
    	for i, test := range tagAndLengthData {
    		tagAndLength, _, err := parseTagAndLength(test.in, 0)
    		if (err == nil) != test.ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
Back to top