(p []byte)
| 1430 | } |
| 1431 | |
| 1432 | func readByte(p []byte) (remain []byte, b byte, err error) { |
| 1433 | if len(p) == 0 { |
| 1434 | return nil, 0, io.ErrUnexpectedEOF |
| 1435 | } |
| 1436 | return p[1:], p[0], nil |
| 1437 | } |
| 1438 | |
| 1439 | func readUint32(p []byte) (remain []byte, v uint32, err error) { |
| 1440 | if len(p) < 4 { |
no outgoing calls
no test coverage detected
searching dependent graphs…