ebml

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package ebml provides shared Matroska header primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unknown

func Unknown(value uint64, width int) bool

Unknown reports the all-ones unknown-size encoding.

func Vint

func Vint(b []byte, keepMarker bool) (uint64, int)

Vint decodes a variable-width integer. keepMarker retains the ID marker. Element ID callers must additionally enforce the four-byte ID limit.

func Width

func Width(first byte) int

Width returns a VINT width, or zero for an invalid leading byte.

Types

This section is empty.

Jump to

Keyboard shortcuts

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