Ugorji Nwoke
|
ffda9d4fba
codec: streamline nil decoding: nil means zero value consistently
|
6 anos atrás |
Ugorji Nwoke
|
f06fded8c4
codec: test: add test for checking if TestStruc encoded == decoded
|
6 anos atrás |
Ugorji Nwoke
|
19cb75f56d
codec: added mapSet and mapDelete helpers (safe/unsafe variants)
|
6 anos atrás |
Ugorji Nwoke
|
0cf90f7e87
codec: add (unsafe) alloc-free support for map iteration 1.12+
|
6 anos atrás |
Ugorji Nwoke
|
09134a0411
Merge branch 'master' of https://github.com/ugorji/go
|
6 anos atrás |
Jernej Kos
|
f0f82f0300
codec: Tests and fix for #301 (#302)
|
6 anos atrás |
Ugorji Nwoke
|
dfc37c8976
codec: test: expand to include maps with struct keys
|
6 anos atrás |
Ugorji Nwoke
|
cf85d7fda7
codec: test and bench: general clean up
|
6 anos atrás |
Ugorji Nwoke
|
8b3661cea8
codec: redesign how codecFnInfo is loaded from, and support SelfExt
|
6 anos atrás |
Ugorji Nwoke
|
e05b287349
codec: handle []byte encoded as array (as opposed to native mode per format)
|
6 anos atrás |
Ugorji Nwoke
|
449ecf999a
codec: support for extension types which fully delegate encoding/decoding to library
|
6 anos atrás |
Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
6 anos atrás |
Ugorji Nwoke
|
08f7b401ae
codec: fix TermWhitespace handling
|
6 anos atrás |
Ugorji Nwoke
|
39c532fb3a
codec: refactoring, fix support for successive encoding and atEndOfEncode
|
6 anos atrás |
Ugorji Nwoke
|
1d7ab5c50b
documentation and README updates and some code reorganization
|
6 anos atrás |
Ugorji Nwoke
|
a70535d849
codec: generalize DecodeOptions:RawToString flag (for all encodings)
|
6 anos atrás |
Ugorji Nwoke
|
c4a1c341dc
codec: encWriterSwitch.end() panic's, and should not be called AS-IS during a final "recover"
|
6 anos atrás |
Ugorji Nwoke
|
497916c003
codec: at start of encode, ensure bufioEncWriter's buffer is not nil
|
7 anos atrás |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
7 anos atrás |
Ugorji Nwoke
|
6b9be71790
codec: update TODO for tests
|
7 anos atrás |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
7 anos atrás |
Ugorji Nwoke
|
7d13b37dbe
codec: bufioDecReader: do not implement io.(ByteScanner|Reader) - its unnecessary
|
7 anos atrás |
Ugorji Nwoke
|
ce1d126566
codec: misc fixes - handle error from io.Reader.Read, fix MissingFielder support, refactor for better mid-stack inlining, use custom bufio.Writer impl, etc
|
7 anos atrás |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
7 anos atrás |
Ugorji Nwoke
|
405bbdfe11
codec: document that Selfer should not blindly call (Must)?(En|De)code
|
7 anos atrás |
Ugorji Nwoke
|
54e65a16b7
codec: add tests for size mismatch for maps and extensions (using msgpack codec)
|
7 anos atrás |
Ugorji Nwoke
|
61ada7950e
codec: support MaxDepth within swallow()
|
7 anos atrás |
Ugorji Nwoke
|
8333dd4495
codec: add tests for MaxDepth
|
7 anos atrás |
Ugorji Nwoke
|
a65ca39637
codec: use types for encode and decode errors, which expose underlying error
|
7 anos atrás |
Ugorji Nwoke
|
449f40126c
codec: add tests for MissingFielder (missing fields)
|
7 anos atrás |