MCPcopy Create free account
hub / github.com/DNAProject/DNA / NextAddress

Method NextAddress

common/zero_copy_source.go:179–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177}
178
179func (self *ZeroCopySource) NextAddress() (data Address, eof bool) {
180 var buf []byte
181 buf, eof = self.NextBytes(ADDR_LEN)
182 if eof {
183 return
184 }
185 copy(data[:], buf)
186
187 return
188}
189
190func (self *ZeroCopySource) NextI128() (data I128, eof bool) {
191 var buf []byte

Callers 6

DeserializationMethod · 0.80
DecodeValueFunction · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80

Calls 1

NextBytesMethod · 0.95

Tested by

no test coverage detected