mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
save
This commit is contained in:
parent
636beaf0e8
commit
1f91096701
@ -12,7 +12,7 @@ import (
|
|||||||
//
|
//
|
||||||
// General rules:
|
// General rules:
|
||||||
// - functions to calculate prefix len are fast (and pure). it's ok to call them multiple times during encoding of large object for readability.
|
// - functions to calculate prefix len are fast (and pure). it's ok to call them multiple times during encoding of large object for readability.
|
||||||
// - functions to Parse (Decode) data - using data type as name (without any prefix): rlp.String(), rlp.List, rlp.U64()
|
// - functions to Parse (Decode) data - using data type as name (without any prefix): rlp.String(), rlp.List, rlp.U64(), rlp.U256()
|
||||||
//
|
//
|
||||||
|
|
||||||
func ListPrefixLen(dataLen int) int {
|
func ListPrefixLen(dataLen int) int {
|
||||||
|
Loading…
Reference in New Issue
Block a user