Documentation ¶
Overview ¶
The oryx amf0 package support AMF0 codec.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Amf0 ¶
type Amf0 interface { // Binary marshaler and unmarshaler. encoding.BinaryUnmarshaler encoding.BinaryMarshaler // Get the size of bytes to marshal this object. Size() int // contains filtered or unexported methods }
All AMF0 things.
func NewBoolean ¶
func NewUndefined ¶
func NewUndefined() Amf0
type Boolean ¶
type Boolean bool
The AMF0 boolean, please read @doc amf0_spec_121207.pdf, @page 5, @section 2.3 Boolean Type
func (*Boolean) MarshalBinary ¶
func (*Boolean) UnmarshalBinary ¶
type EcmaArray ¶
type EcmaArray struct {
// contains filtered or unexported fields
}
The AMF0 ecma array, please read @doc amf0_spec_121207.pdf, @page 6, @section 2.10 ECMA Array Type
func NewEcmaArray ¶
func NewEcmaArray() *EcmaArray
func (*EcmaArray) MarshalBinary ¶
func (*EcmaArray) UnmarshalBinary ¶
type Number ¶
type Number float64
The number object, please read @doc amf0_spec_121207.pdf, @page 5, @section 2.2 Number Type
func (*Number) MarshalBinary ¶
func (*Number) UnmarshalBinary ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
The AMF0 object, please read @doc amf0_spec_121207.pdf, @page 5, @section 2.5 Object Type
func (*Object) MarshalBinary ¶
func (*Object) UnmarshalBinary ¶
type StrictArray ¶
type StrictArray struct {
// contains filtered or unexported fields
}
The AMF0 strict array, please read @doc amf0_spec_121207.pdf, @page 7, @section 2.12 Strict Array Type
func NewStrictArray ¶
func NewStrictArray() *StrictArray
func (*StrictArray) MarshalBinary ¶
func (v *StrictArray) MarshalBinary() (data []byte, err error)
func (*StrictArray) Size ¶
func (v *StrictArray) Size() int
func (*StrictArray) UnmarshalBinary ¶
func (v *StrictArray) UnmarshalBinary(data []byte) (err error)
type String ¶
type String string
The string objet, please read @doc amf0_spec_121207.pdf, @page 5, @section 2.4 String Type
func (*String) MarshalBinary ¶
func (*String) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.