neo-go/pkg/io
Roman Khimov 54d888ba70 io: add type-specific read/write methods
This seriously improves the serialization/deserialization performance for
several reasons:
 * no time spent in `binary` reflection
 * no memory allocations being made on every read/write
 * uses fast ReadBytes everywhere it's appropriate

It also makes Fixed8 Serializable just for convenience.
2019-12-12 20:19:50 +03:00
..
binaryBufWriter.go vm: add bufBinWriter to emit functions in order to catch errors 2019-12-02 13:04:33 +03:00
binaryReader.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
binaryrw_test.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
binaryWriter.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
fileWriter.go io: move common function and add unit tests for it 2019-11-06 17:12:33 +03:00
fileWriter_test.go io: move common function and add unit tests for it 2019-11-06 17:12:33 +03:00
serializable.go io: optimize BinWriter.WriteArray() 2019-12-09 14:59:49 +03:00
size.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
size_test.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00