将数据转换为字节数组
(msgObj interface{}, ctx ContextSet)
| 4 | type Codec interface { |
| 5 | // 将数据转换为字节数组 |
| 6 | Encode(msgObj interface{}, ctx ContextSet) (data interface{}, err error) |
| 7 | |
| 8 | // 将字节数组转换为数据 |
| 9 | Decode(data interface{}, msgObj interface{}) error |
no outgoing calls
no test coverage detected