()
| 199 | } |
| 200 | |
| 201 | func (self *ZeroCopySource) NextHash() (data Uint256, eof bool) { |
| 202 | var buf []byte |
| 203 | buf, eof = self.NextBytes(UINT256_SIZE) |
| 204 | if eof { |
| 205 | return |
| 206 | } |
| 207 | copy(data[:], buf) |
| 208 | |
| 209 | return |
| 210 | } |
| 211 | |
| 212 | func (self *ZeroCopySource) NextString() (data string, size uint64, irregular bool, eof bool) { |
| 213 | var val []byte |
no test coverage detected