Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printUint8Bytes (0.12 sec)

  1. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    		b%10 + '0',
    	})
    }
    
    func printUint8Bytes(buf []byte, i uint8) []byte {
    	b := byte(i)
    	if i >= 100 {
    		buf = append(buf, b/100+'0')
    	}
    	if i >= 10 {
    		buf = append(buf, b/10%10+'0')
    	}
    	return append(buf, b%10+'0')
    }
    
    func printByteSlice(b []byte) string {
    	if len(b) == 0 {
    		return ""
    	}
    	buf := make([]byte, 0, 5*len(b))
    	buf = printUint8Bytes(buf, uint8(b[0]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top