(b []byte, p unsafe.Pointer)
| 129 | } |
| 130 | |
| 131 | func (d decoder) decodeUint(b []byte, p unsafe.Pointer) ([]byte, error) { |
| 132 | if hasNullPrefix(b) { |
| 133 | return b[4:], nil |
| 134 | } |
| 135 | |
| 136 | v, r, err := d.parseUint(b, uintType) |
| 137 | if err != nil { |
| 138 | return r, err |
| 139 | } |
| 140 | |
| 141 | *(*uint)(p) = uint(v) |
| 142 | return r, nil |
| 143 | } |
| 144 | |
| 145 | func (d decoder) decodeUintptr(b []byte, p unsafe.Pointer) ([]byte, error) { |
| 146 | if hasNullPrefix(b) { |
nothing calls this directly
no test coverage detected