go-restruct/restruct
View on GitHub ↗ ★ 367 Go
Rich binary (de)serialization library for Golang
6 mentions on Hacker News by 2 people: 1 story, 5 comments · first 2017-06-13 · latest 2022-03-26
20082026
-
…It also doesn’t handle serialization, but it’s still worth noting for robust deserialization. [1]: https://github.com/go-restruct/restruct [2]: https://github.com/jchv/pngextract [3]: https://github.com/jchv/flsplit
comment by jchw · 2022-03-26 · in Why isn't there a Swagger/OpenAPI for binary formats? -
…blobs of binary data. I’ve also taken some inspiration with a Go library I wrote, restruct: https://github.com/go-restruct/restruct … which is a bit like Go’s JSON encoding/decoding library, but with kaitai-like annotations for binary…
comment by jchw · 2022-03-17 · in Kaitai Struct: A new way to develop parsers for binary structures -
I made a library called Restruct. https://github.com/go-restruct/restruct It is useful for parsing and emitting binary structures. It uses Go struct tags to allow you to define fairly advanced arbitrary structures. Unlike some similar…
comment by jchw · 2021-05-16 · in Ask HN: What are some tools / libraries you built yourself? -
…an overdone demo of what you could do with Restruct for example, see this (incomplete) PNG demo: https://github.com/go-restruct/restruct/blob/master/formats/... (It is mainly incomplete because I had moved focus to develop a codegen for…
comment by jchw · 2021-02-25 · in Plain Text Protocols -
…language for transforming things (on master version) and it supports writing structures out. https://github.com/go-restruct/restruct
comment by jchw · 2020-12-06 · in Kaitai: Describe the structure of data, not how you read or write it -
▲ 2
Restruct – Rich binary (de)serialization library for Golangstory by gbrown_ · 2017-06-13 · 0 comments