mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
17 lines
331 B
Go
17 lines
331 B
Go
package processor
|
|
|
|
type JsonProcessor struct {
|
|
//SetByteOrder(littleEndian bool)
|
|
//SetMsgLen(lenMsgLen int, minMsgLen uint32, maxMsgLen uint32)
|
|
|
|
|
|
}
|
|
|
|
func (slf *JsonProcessor) Unmarshal(data []byte) (interface{}, error) {
|
|
return nil,nil
|
|
}
|
|
|
|
|
|
func (slf *JsonProcessor) Marshal(msg interface{}) ([][]byte, error) {
|
|
return nil,nil
|
|
} |