mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
d38f3be8b9
* Add uint32 and uint64 support * Add sample usage and its test * BUILD file fix * Add period in go doc comments.
24 lines
426 B
Go
24 lines
426 B
Go
/*
|
|
Package ssz implements the Simple Serialize algorithm specified at
|
|
https://github.com/ethereum/eth2.0-specs/blob/master/specs/simple-serialize.md
|
|
|
|
Currently directly supported types:
|
|
|
|
bool
|
|
uint8
|
|
uint16
|
|
uint32
|
|
uint64
|
|
bytes
|
|
slice
|
|
struct
|
|
|
|
Types that can be implicitly supported:
|
|
|
|
address:
|
|
use byte slice of length 20 instead
|
|
hash:
|
|
use byte slice of length 32 instead if the hash is 32 bytes long, for example
|
|
*/
|
|
package ssz
|