Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readBase128Int (0.25 sec)

  1. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	// then there are no restrictions on value2.
    	var v int
    	if !bytes.readBase128Int(&v) {
    		return false
    	}
    	if v < 80 {
    		components[0] = v / 40
    		components[1] = v % 40
    	} else {
    		components[0] = 2
    		components[1] = v - 80
    	}
    
    	i := 2
    	for ; len(bytes) > 0; i++ {
    		if !bytes.readBase128Int(&v) {
    			return false
    		}
    		components[i] = v
    	}
    	*out = components[:i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top