mirror of
https://github.com/bensema/gotdx.git
synced 2025-11-21 02:45:33 +08:00
readme
This commit is contained in:
@@ -89,8 +89,6 @@ func (obj *GetIndexBars) Serialize() ([]byte, error) {
|
||||
func (obj *GetIndexBars) UnSerialize(header interface{}, data []byte) error {
|
||||
obj.respHeader = header.(*RespHeader)
|
||||
|
||||
fmt.Println(hex.EncodeToString(data))
|
||||
|
||||
pos := 0
|
||||
err := binary.Read(bytes.NewBuffer(data[pos:pos+2]), binary.LittleEndian, &obj.reply.Count)
|
||||
pos += 2
|
||||
|
||||
Reference in New Issue
Block a user