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

Function NewIntBytes

group/mod/int.go:66–68  ·  view source on GitHub ↗

NewIntBytes creates a new Int with a given slice of bytes and a big.Int modulus.

(a []byte, m *big.Int, byteOrder ByteOrder)

Source from the content-addressed store, hash-verified

64// NewIntBytes creates a new Int with a given slice of bytes and a big.Int
65// modulus.
66func NewIntBytes(a []byte, m *big.Int, byteOrder ByteOrder) *Int {
67 return new(Int).InitBytes(a, m, byteOrder)
68}
69
70// NewIntString creates a new Int with a given string and a big.Int modulus.
71// The value is set to a rational fraction n/d in a given base.

Callers 1

TestInitsFunction · 0.85

Calls 1

InitBytesMethod · 0.80

Tested by 1

TestInitsFunction · 0.68