xgo/docs/stdlib-hex.md

10 lines
199 B
Markdown
Raw Normal View History

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