WriteCheck writes the correct checksum into buf, which should be be the already-marshalled header and payload.
(buf []byte)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected