MCPcopy Create free account
hub / github.com/DOSNetwork/core / MarshalTo

Method MarshalTo

group/mod/int.go:350–352  ·  view source on GitHub ↗

MarshalTo encodes this Int to the given Writer.

(w io.Writer)

Source from the content-addressed store, hash-verified

348
349// MarshalTo encodes this Int to the given Writer.
350func (i *Int) MarshalTo(w io.Writer) (int, error) {
351 return marshalling.ScalarMarshalTo(i, w)
352}
353
354// UnmarshalFrom tries to decode an Int from the given Reader.
355func (i *Int) UnmarshalFrom(r io.Reader) (int, error) {

Callers 7

HashMethod · 0.45
HashMethod · 0.45
contextFunction · 0.45
deriveHFunction · 0.45
sessionIDFunction · 0.45
SignFunction · 0.45
hashFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected