MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Int

Method Int

protocol/net/io/encoding/reader.go:76–80  ·  view source on GitHub ↗
(i *int32)

Source from the content-addressed store, hash-verified

74}
75
76func (r Reader) Int(i *int32) error {
77 d, err := r.readBytes(4)
78 *i = int32(d[0])<<24 | int32(d[1])<<16 | int32(d[2])<<8 | int32(d[3])
79 return err
80}
81
82func (r Reader) Long(i *int64) error {
83 d, err := r.readBytes(8)

Callers 10

FloatMethod · 0.95
EncodeMethod · 0.45
DecodeMethod · 0.45
EncodeMethod · 0.45
DecodeMethod · 0.45
EncodeMethod · 0.45
EncodeMethod · 0.45
encodeNodeMethod · 0.45
EncodeMethod · 0.45
DecodeMethod · 0.45

Calls 1

readBytesMethod · 0.95

Tested by

no test coverage detected