MCPcopy
hub / github.com/tinygo-org/tinygo / SmallPair

Struct SmallPair

testdata/interface.go:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239type SmallPair struct {
240 a byte
241 b byte
242}
243
244func (p SmallPair) Nth(n int) uint32 {
245 return uint32(int(p.a)*n + int(p.b)*n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected