# VLQ
A compact text encoding for ints, used in sourcemaps.
[](https://hex.pm/packages/vlq)
[](https://hexdocs.pm/vlq/)
```sh
gleam add vlq@1
```
```gleam
import vlq
pub fn main() -> Nil {
assert vlq.encode64([0, 0, 16, 1]) == "AAgBC"
assert vlq.decode64("AAgBC") == Ok([0, 0, 16, 1])
}
```
Documentation can be found at <https://hexdocs.pm/vlq>.
Thank you to Martin Janiczek's [elm-vlq](https://github.com/Janiczek/elm-vlq),
which was a reference for this library.