Done returns whether we are at the end of the protobuf
()
| 355 | |
| 356 | // Done returns whether we are at the end of the protobuf |
| 357 | func (b *BufferReader) Done() bool { |
| 358 | return b.Pos == len(b.Buf) |
| 359 | } |
| 360 | |
| 361 | // Remaining returns how many bytes remain |
| 362 | func (b *BufferReader) Remaining() int { |
no outgoing calls