mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-31 09:14:56 +00:00
Trivial: Fix two VarInt examples in serialize.h
Github-Pull: #8560 Rebased-From: 7bd5ff46237b06b3cf223176c1c71ef66383fa92
This commit is contained in:
parent
cb07f19e90
commit
c493f43621
@ -322,8 +322,8 @@ uint64_t ReadCompactSize(Stream& is)
|
|||||||
* 0: [0x00] 256: [0x81 0x00]
|
* 0: [0x00] 256: [0x81 0x00]
|
||||||
* 1: [0x01] 16383: [0xFE 0x7F]
|
* 1: [0x01] 16383: [0xFE 0x7F]
|
||||||
* 127: [0x7F] 16384: [0xFF 0x00]
|
* 127: [0x7F] 16384: [0xFF 0x00]
|
||||||
* 128: [0x80 0x00] 16511: [0x80 0xFF 0x7F]
|
* 128: [0x80 0x00] 16511: [0xFF 0x7F]
|
||||||
* 255: [0x80 0x7F] 65535: [0x82 0xFD 0x7F]
|
* 255: [0x80 0x7F] 65535: [0x82 0xFE 0x7F]
|
||||||
* 2^32: [0x8E 0xFE 0xFE 0xFF 0x00]
|
* 2^32: [0x8E 0xFE 0xFE 0xFF 0x00]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user