neoneo-go/pkg/io
Roman Khimov e7687d620d io: simplify WriteBytes()
Which speeds it up at least twofold for a typical 32-bytes write (and that's
for a very naïve test that allocates new BufBinWriter on every iteration):

pkg: github.com/CityOfZion/neo-go/pkg/io
BenchmarkWriteBytes-8           10000000               124 ns/op
BenchmarkWriteBytesOld-8         5000000               251 ns/op
2019-12-06 17:40:47 +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: restrict ReadArray max array size 2019-11-15 22:39:21 +03:00
binaryrw_test.go io: simplify WriteBytes() 2019-12-06 17:40:47 +03:00
binaryWriter.go io: simplify WriteBytes() 2019-12-06 17:40:47 +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: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
size.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
size_test.go util: implement io.Serializable for Uint256 2019-11-14 14:20:38 +03:00