xgo/docs/stdlib-hex.md

10 lines
200 B
Markdown

# Module - "hex"
```golang
hex := import("hex")
```
## Functions
- `encode(src)`: returns the hexadecimal encoding of src.
- `decode(s)`: returns the bytes represented by the hexadecimal string s.