xgo/docs/stdlib-hex.md

11 lines
200 B
Markdown
Raw Normal View History

# Module - "hex"
```golang
fmt := import("hex")
```
## Functions
- `encode(src)`: returns the hexadecimal encoding of src.
2020-03-04 17:53:38 +03:00
- `decode(s)`: returns the bytes represented by the hexadecimal string s.