vlq

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(source []byte) (num uint32)

func Encode

func Encode(n uint32) (out []byte)

Variable-Length Quantity (VLQ) is an way of representing arbitrary see https://blogs.infosupport.com/a-primer-on-vlq/ we use the variant of the midi-spec stolen and converted to go from https://github.com/dvberkel/VLQKata/blob/master/src/main/java/nl/dvberkel/kata/Kata.java#L12

Types

This section is empty.

Jump to

Keyboard shortcuts

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