https://github.com/aki237/dibba
Dibba File Format utility package for golang
https://github.com/aki237/dibba
binary dibba golang package parser tlv writer
Last synced: 6 months ago
JSON representation
Dibba File Format utility package for golang
- Host: GitHub
- URL: https://github.com/aki237/dibba
- Owner: aki237
- License: bsd-3-clause
- Created: 2017-06-17T09:28:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T12:55:55.000Z (about 8 years ago)
- Last Synced: 2024-06-20T13:34:42.910Z (about 2 years ago)
- Topics: binary, dibba, golang, package, parser, tlv, writer
- Language: Go
- Size: 3.92 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# dibba - package format reader
[](https://goreportcard.com/report/github.com/aki237/dibba)
Dibba is a small go library for a new TLV based file format for storing just files.
Refer [godoc](https://godoc.org/github.com/aki237/dibba) for more.
See Examples for sample usage.
+ Packager : Packages files into a single dibba file.
```
$ cd $GOPATH/github.com/aki237/dibba/examples/packager/
$ go build
$ ./packager outFile.dib example/*
35
4259516
$ ls
. .. example outFile.dib package.go packager
```
+ Parser : Parse the dibba file and print out the contents of a given file from the package
```
$ cd $GOPATH/github.com/aki237/dibba/examples/parser/
$ go build
$ ./parser ../packager/outFile.dib Readme.md
# Readme
This is a sample readme.
```