Golang Binary Valve Data Format (VDF) implementation
Golang Binary Valve Data Format implementation
go get -u github.com/wakeful-cloud/vdf
vdf.Map
: structure use to represent a parsed/read VDF
map[string]interface{}
vdf.ReadVdf
: function that reads bytes to a vdf.Map
ReadVdf([]byte): (vdf.Map, error)
vdf.WriteVdf
: function that writes a vdf.Map
to bytes
WriteVdf(vdf.Map): ([]byte, error)
See example/main.go
Heavily based on Corecii’s Steam Binary VSF TS Package.