main.go
TEXT FILE214 B · Public source code for developers, search crawlers and AI agents
1package main
2
3import (
4 "encoding/hex"
5 "fmt"
6)
7
8func decode(s string) ([]byte, error) { return hex.DecodeString(s) }
9func main() { v, e := decode("00ff10"); fmt.Printf("%x %v\n", v, e) }Read-only source · Select a line number to link directly · Raw download above
