Documentation ¶
Index ¶
- Constants
- Variables
- func ParseHeader(self *flvio.Tag, b []byte) (n int, err error)
- func ReadTag(r io.Reader, b []byte) (tag flvio.Tag, ts int32, err error)
- type AMF0
- func (a *AMF0) ReadByte() (byte, error)
- func (a *AMF0) ReadEcmaArray() (map[string]any, error)
- func (a *AMF0) ReadItem() (any, error)
- func (a *AMF0) ReadMap() (map[any]any, error)
- func (a *AMF0) ReadMetaData() map[string]any
- func (a *AMF0) ReadNumber() (float64, error)
- func (a *AMF0) ReadObject() (map[string]any, error)
- func (a *AMF0) ReadString() (string, error)
- type Conn
Constants ¶
View Source
const ( TypeNumber byte = iota TypeBoolean TypeString TypeObject TypeEcmaArray = 8 TypeObjectEnd = 9 )
Variables ¶
View Source
var Err = errors.New("amf0 read error")
Functions ¶
Types ¶
type AMF0 ¶
type AMF0 struct {
// contains filtered or unexported fields
}
AMF0 spec: http://download.macromedia.com/pub/labs/amf/amf0_spec_121207.pdf
func (*AMF0) ReadMetaData ¶
func (*AMF0) ReadNumber ¶
func (*AMF0) ReadString ¶
Click to show internal directories.
Click to hide internal directories.