File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
| |
7
7
| io/decoder.go |
8
8
| |
9
- | LastModified: Mar 18, 2022 |
9
+ | LastModified: Dec 13, 2023 |
10
10
| Author: Ma Bingyao <[email protected] > |
11
11
| |
12
12
\*________________________________________________________*/
@@ -341,6 +341,10 @@ func (dec *Decoder) ResetBuffer() *Decoder {
341
341
}
342
342
dec .head = 0
343
343
dec .tail = 0
344
+ dec .Error = nil
345
+ dec .MapType = MapTypeIIMap
346
+ dec .RealType = RealTypeFloat64
347
+ dec .LongType = LongTypeInt
344
348
return dec
345
349
}
346
350
Original file line number Diff line number Diff line change 6
6
| |
7
7
| io/encoder.go |
8
8
| |
9
- | LastModified: Feb 27, 2022 |
9
+ | LastModified: Dec 13, 2023 |
10
10
| Author: Ma Bingyao <[email protected] > |
11
11
| |
12
12
\*________________________________________________________*/
@@ -313,6 +313,7 @@ func (enc *Encoder) Reset() *Encoder {
313
313
// ResetBuffer of the Encoder.
314
314
func (enc * Encoder ) ResetBuffer () * Encoder {
315
315
enc .buf = enc .buf [:0 ]
316
+ enc .Error = nil
316
317
return enc
317
318
}
318
319
You can’t perform that action at this time.
0 commit comments