ReadIntfBytes attempts to read the next object out of 'b' as a raw interface{} and return the remaining bytes.
(b []byte)
| 1193 | // the next object out of 'b' as a raw interface{} and |
| 1194 | // return the remaining bytes. |
| 1195 | func ReadIntfBytes(b []byte) (i any, o []byte, err error) { |
| 1196 | return readIntfBytesDepth(b, 0) |
| 1197 | } |
| 1198 | |
| 1199 | func readIntfBytesDepth(b []byte, depth int) (i any, o []byte, err error) { |
| 1200 | if depth >= recursionLimit { |
searching dependent graphs…