vdf

package module
v0.0.0-...-2630761 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 7 Imported by: 1

README

go-encoding-vdf CI godoc goreportcard

Go module to decode Valve Data Format with a similar API to the Go standard library's encoding/json.

install

go get github.com/frantjc/go-encoding-vdf

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(b []byte, v any) error

Unmarshal parses the VDF-encoded data and stores the result in the value pointed to by v.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

func (*Decoder) Decode

func (d *Decoder) Decode(v any) error

Decode reads the next VDF-encoded value from its input and stores it in the value pointed to by v.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL