Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodesp/binpack
Binpack encoding in Golang
https://github.com/theodesp/binpack
binpack encoding golang golang-library serialization
Last synced: about 1 month ago
JSON representation
Binpack encoding in Golang
- Host: GitHub
- URL: https://github.com/theodesp/binpack
- Owner: theodesp
- License: other
- Created: 2019-03-04T20:59:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T08:27:20.000Z (over 5 years ago)
- Last Synced: 2024-10-03T07:23:36.145Z (about 2 months ago)
- Topics: binpack, encoding, golang, golang-library, serialization
- Language: Go
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/theodesp/binpack.svg)](https://travis-ci.org/theodesp/binpack)
[![GoDoc](https://godoc.org/github.com/theodesp/binpack?status.svg)](https://godoc.org/github.com/theodesp/binpack)
[![Go Report Card](https://goreportcard.com/badge/github.com/theodesp/binpack)](https://goreportcard.com/badge/github.com/theodesp/binpack)
[![codecov.io](https://codecov.io/github/theodesp/binpack/branch/master/graph/badge.svg)](https://codecov.io/github/theodesp/binpack)
[![GolangCI](https://golangci.com/badges/github.com/golangci/golangci-lint.svg)](https://golangci.com/r/github.com/theodesp/binpack)
[![CodeFactor](https://www.codefactor.io/repository/github/theodesp/binpack/badge)](https://www.codefactor.io/repository/github/theodesp/binpack)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/0wdydpxh3o74vc9t?svg=true)](https://ci.appveyor.com/api/projects/status/0wdydpxh3o74vc9t?svg=true)# Binpack Encoding for Golang
**binpack** is a library implementing [encoding/binpack](http://binpack.liaohuqiu.net/). Which is a
binary serialize format, it is json like, but smaller and faster.## Install
go get github.com/theodesp/binpack
## Documentation and Examples
Visit [godoc](http://godoc.org/github.com/theodesp/binpack) for general examples and public api reference.
See **.travis.yml** for supported **go** versions.See implementation examples:
## Supported Types
- [x] string
- [x] []byte
- [x] []uint8
- [x] float32
- [x] float64
- [x] bool
- [x] nil
- [x] basic slices ([]string, []int, ...)
- [x] basic arrays ([n]string, [n]int, ...)
- [x] basic maps
- [x] ints
- [x] uints## Run tests
go test -race
## ContributionsSee our [Contributing](./CONTRIBUTING.md) guide. This project uses [allcontributors](https://allcontributors.org/).
## License
The [Apache](https://www.apache.org/licenses/LICENSE-2.0)