IsNil returns whether or not the next byte is a null messagepack byte
()
| 323 | // IsNil returns whether or not |
| 324 | // the next byte is a null messagepack byte |
| 325 | func (m *Reader) IsNil() bool { |
| 326 | p, err := m.R.PeekByte() |
| 327 | return err == nil && p == mnil |
| 328 | } |
| 329 | |
| 330 | // getNextSize returns the size of the next object on the wire. |
| 331 | // returns (obj size, obj elements, error) |
no outgoing calls