Documentation ¶
Overview ¶
Package ebml implements an encoder for EBML.
Index ¶
- type Binary
- type Date
- type Element
- func CRC32(children ...Object) Element
- func DocType(children ...Object) Element
- func DocTypeReadVersion(children ...Object) Element
- func DocTypeVersion(children ...Object) Element
- func EBML(children ...Object) Element
- func EBMLMaxIDLength(children ...Object) Element
- func EBMLMaxSizeLength(children ...Object) Element
- func EBMLReadVersion(children ...Object) Element
- func EBMLVersion(children ...Object) Element
- func Signature(children ...Object) Element
- func SignatureAlgo(children ...Object) Element
- func SignatureElementList(children ...Object) Element
- func SignatureElements(children ...Object) Element
- func SignatureHash(children ...Object) Element
- func SignaturePublicKey(children ...Object) Element
- func SignatureSlot(children ...Object) Element
- func SignedElement(children ...Object) Element
- func Void(children ...Object) Element
- type ElementID
- type Encoder
- type Float
- type Int
- type Object
- type Padding
- type Reference
- type String
- type UTF8
- type Uint
- type Varint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
func DocTypeReadVersion ¶
func DocTypeVersion ¶
func EBMLMaxIDLength ¶
func EBMLMaxSizeLength ¶
func EBMLReadVersion ¶
func EBMLVersion ¶
func SignatureAlgo ¶
func SignatureElementList ¶
func SignatureElements ¶
func SignatureHash ¶
func SignaturePublicKey ¶
func SignatureSlot ¶
func SignedElement ¶
type Encoder ¶
type Encoder struct { Err error // contains filtered or unexported fields }
func NewEncoder ¶
func (*Encoder) Emit ¶
Emit writes the object and all of its possible children. It calculates the size automatically.
func (*Encoder) EmitHeader ¶
EmitHeader writes an element header with the given ID and size. If the size is negative, the special "unknown" size will be used instead.
Click to show internal directories.
Click to hide internal directories.