(b []byte)
| 314 | } |
| 315 | |
| 316 | func getOneByte(b []byte) ([]byte, byte, error) { |
| 317 | if len(b) == 0 { |
| 318 | return nil, 0, errors.Errorf("insufficient bytes to decode byte") |
| 319 | } |
| 320 | return b[1:], b[0], nil |
| 321 | } |
| 322 | |
| 323 | func (c *tsNodeCodec) decodeTSNode(b []byte) ([]byte, *tsNode, error) { |
| 324 | if c.nTokens == 0 { |
no test coverage detected
searching dependent graphs…