()
| 186 | } |
| 187 | |
| 188 | func (c *ReadContext) ReadBinary() []byte { |
| 189 | err := c.Err() |
| 190 | length := c.buffer.ReadVarUint32(err) |
| 191 | return c.buffer.ReadBinary(int(length), err) |
| 192 | } |
| 193 | |
| 194 | func (c *ReadContext) ReadTypeId() TypeId { |
| 195 | return TypeId(c.buffer.ReadUint8(c.Err())) |
no test coverage detected