|
@@ -77,7 +77,7 @@ func (e *simpleEncDriver) encUint(v uint64, bd uint8) {
|
|
|
} else if v <= math.MaxUint32 {
|
|
} else if v <= math.MaxUint32 {
|
|
|
e.w.writen1(bd + 2)
|
|
e.w.writen1(bd + 2)
|
|
|
bigenHelper{e.b[:4], e.w}.writeUint32(uint32(v))
|
|
bigenHelper{e.b[:4], e.w}.writeUint32(uint32(v))
|
|
|
- } else if v <= math.MaxUint64 {
|
|
|
|
|
|
|
+ } else { // if v <= math.MaxUint64 {
|
|
|
e.w.writen1(bd + 3)
|
|
e.w.writen1(bd + 3)
|
|
|
bigenHelper{e.b[:8], e.w}.writeUint64(v)
|
|
bigenHelper{e.b[:8], e.w}.writeUint64(v)
|
|
|
}
|
|
}
|