(key string, v any)
| 190 | } |
| 191 | |
| 192 | func (amf *AMF) writeProperty(key string, v any) { |
| 193 | amf.WriteUint16(uint16(len(key))) |
| 194 | amf.WriteString(key) |
| 195 | amf.Marshal(v) |
| 196 | } |
| 197 | |
| 198 | func MarshalAMFs(v ...any) []byte { |
| 199 | var amf AMF |
no test coverage detected