Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 0123456789ABCDEF (0.27 sec)

  1. internal/kms/context.go

    		escapeStringJSON(b, c[k])
    		b.WriteByte('"')
    		if i < len(sortedKeys)-1 {
    			b.WriteByte(',')
    		}
    	}
    	b.WriteByte('}')
    	return b.Bytes(), nil
    }
    
    // Adapted from Go stdlib.
    
    var hexTable = "0123456789abcdef"
    
    // escapeStringJSON will escape a string for JSON and write it to dst.
    func escapeStringJSON(dst *bytes.Buffer, s string) {
    	start := 0
    	for i := 0; i < len(s); {
    		if b := s[i]; b < utf8.RuneSelf {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
Back to top