IsNil returns true if len(b)>0 and the leading byte is a 'nil' MessagePack byte; false otherwise
(b []byte)
| 46 | // the leading byte is a 'nil' MessagePack |
| 47 | // byte; false otherwise |
| 48 | func IsNil(b []byte) bool { |
| 49 | if len(b) != 0 && b[0] == mnil { |
| 50 | return true |
| 51 | } |
| 52 | return false |
| 53 | } |
| 54 | |
| 55 | // Raw is raw MessagePack. |
| 56 | // Raw allows you to read and write |
no outgoing calls
no test coverage detected
searching dependent graphs…