()
| 165 | } |
| 166 | |
| 167 | func (self *ZeroCopySource) NextVarBytes() (data []byte, size uint64, irregular bool, eof bool) { |
| 168 | var count uint64 |
| 169 | count, size, irregular, eof = self.NextVarUint() |
| 170 | size += count |
| 171 | |
| 172 | if count > 0 { |
| 173 | data, eof = self.NextBytes(count) |
| 174 | } |
| 175 | |
| 176 | return |
| 177 | } |
| 178 | |
| 179 | func (self *ZeroCopySource) NextAddress() (data Address, eof bool) { |
| 180 | var buf []byte |