func NewMessageWriter(msg *rpc.Message) *BodyWriter { msg.Body = msg.Body[:0] w := &BodyWriter{util.NewStoreArchiver(msg.Body), msg} return w }