mirror of
https://github.com/Monibuca/engine.git
synced 2025-12-24 13:18:07 +08:00
fix: amf Marshal AMF0_STRICT_ARRAY do not write end
This commit is contained in:
@@ -269,7 +269,6 @@ func (amf *AMF) Marshal(v any) []byte {
|
||||
for i := 0; i < size; i++ {
|
||||
amf.Marshal(v.Index(i).Interface())
|
||||
}
|
||||
amf.Write(END_OBJ)
|
||||
case reflect.Ptr:
|
||||
vv := reflect.Indirect(v)
|
||||
if vv.Kind() == reflect.Struct {
|
||||
|
||||
Reference in New Issue
Block a user