Description

WriteMessageN writes a bitcoin Message to w including the necessary header information and returns the number of bytes written. This function is the same as WriteMessage except it also returns the number of bytes written.

WriteMessageN is referenced in 4 repositories

github.com/btcsuite/btcd github.com/OpenBazaar/spvwallet github.com/soapboxsys/ombudslib

...