True iff the type id is encoded as a number encoding and is signed.
(id int)
| 175 | |
| 176 | // True iff the type id is encoded as a number encoding and is signed. |
| 177 | func IsSigned(id int) bool { |
| 178 | return id >= IDInt8 && id <= IDTime |
| 179 | } |
| 180 | |
| 181 | // True iff the type id is encoded as a number encoding and is unsigned. |
| 182 | func IsUnsigned(id int) bool { |
no outgoing calls