Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 80fa8038757efe9370ef730af1fdc059e16d455c
https://github.com/btcsuite/btcd/commit/80fa8038757efe9370ef730af1fdc059e16d455c
Author: Dave Collins <[email protected]>
Date: 2015-10-16 (Fri, 16 Oct 2015)
Changed paths:
M wire/bench_test.go
M wire/common.go
M wire/common_test.go
M wire/internal_test.go
M wire/msgalert.go
M wire/msgreject.go
M wire/msgversion.go
Log Message:
-----------
wire: Export var length string serialization funcs.
This commit exports the ReadVarString and WriteVarString functions so
they are available for callers to use.
A variable length string is encoded as a variable length integer
containing the length of the string followed by the bytes that represent
the string itself.