Ejemplo n.º 1
0
func ExampleAmf0Date_UnmarshalBinary() {
	b := []byte{0x0b, 0, 0, 1, 81, 30, 96, 9, 6, 112, 128} // read from network

	var s protocol.Amf0Date
	if err := s.UnmarshalBinary(b); err != nil {
		return
	}

	fmt.Println("amf0 date")

	// Output:
	// amf0 date
}