()
| 253 | } |
| 254 | |
| 255 | func (d *decoder) readBytes() []byte { |
| 256 | if n := d.readInt32(); n < 0 { |
| 257 | return nil |
| 258 | } else { |
| 259 | return d.read(int(n)) |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | func (d *decoder) readVarBytes() []byte { |
| 264 | if n := d.readVarInt(); n < 0 { |
no test coverage detected