Versions in this module Expand all Collapse all v0 v0.1.0 Sep 10, 2026 Changes in this version + const Anchor + const Explicit + const Flow + const HasExplicit + const HasFlow + const HeaderSize + const Name + const StringFields + const Style + const Tag + const Value + const Version + const VersionDirective + var Names = [...]string + func Decode(packet []byte, visit func(Event) error) error + func Present(field int) uint32 + type Builder struct + func (b *Builder) Add(e Event) error + func (b *Builder) Bytes() ([]byte, error) + type Event struct + Flags uint32 + Kind Kind + Strings [StringFields]string + type Kind uint8 + const Alias + const DocumentEnd + const DocumentStart + const MappingEnd + const MappingStart + const Scalar + const SequenceEnd + const SequenceStart + const StreamEnd + const StreamStart