6 PosFixedNumHigh Code = 0x7f
7 NegFixedNumLow Code = 0xe0
27 FixedStrLow Code = 0xa0
28 FixedStrHigh Code = 0xbf
29 FixedStrMask Code = 0x1f
38 FixedArrayLow Code = 0x90
39 FixedArrayHigh Code = 0x9f
40 FixedArrayMask Code = 0xf
44 FixedMapLow Code = 0x80
45 FixedMapHigh Code = 0x8f
46 FixedMapMask Code = 0xf
60 func IsFixedNum(c Code) bool {
61 return c <= PosFixedNumHigh || c >= NegFixedNumLow
64 func IsFixedMap(c Code) bool {
65 return c >= FixedMapLow && c <= FixedMapHigh
68 func IsFixedArray(c Code) bool {
69 return c >= FixedArrayLow && c <= FixedArrayHigh
72 func IsFixedString(c Code) bool {
73 return c >= FixedStrLow && c <= FixedStrHigh
76 func IsString(c Code) bool {
77 return IsFixedString(c) || c == Str8 || c == Str16 || c == Str32
80 func IsFixedExt(c Code) bool {
81 return c >= FixExt1 && c <= FixExt16
84 func IsExt(c Code) bool {
85 return IsFixedExt(c) || c == Ext8 || c == Ext16 || c == Ext32