You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: yamlprivateh.go
    path of file: ./repos/xorm/vendor/gopkg.in/yaml.v2
    
    the code of the file until where you have to start completion: package yaml

const (
	// The size of the input raw buffer.
	input_raw_buffe
    
func as_hex(b []byte, i int) int {
	bi := b[i]
	if bi >= 'A' && bi <= 'F' {
		return int(bi) - 'A' + 10
	}
	if bi >= 'a' && bi <= 'f' {
		return int(bi) - 'a' + 10
	}
	return int(bi) - '0'
}