An open API service indexing awesome lists of open source software.

https://github.com/icholy/bindec


https://github.com/icholy/bindec

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# bindec

> Helper type that wraps the `encoding/binary` package

``` go
dec := bindec.NewDecoder(reader, binary.LittleEndian)
size, _ := dec.Int16(nil)
header, _ := dec.Bytes(int(size))
```