Versions in this module Expand all Collapse all v0 v0.9.0 Sep 15, 2023 Changes in this version + func MarshalContent(blockContent any) ([]byte, error) + func UnmarshalContent(blockContent []byte, v any) error + type Block struct + Content []byte + Header *header.Header + Signature []byte + func New(precedingBlockId []byte, contentType uint16, data any, issuer any) (*Block, error) + func NewFromBytes(blockData []byte) (*Block, error) + func (block *Block) Digest() []byte + func (block *Block) ToBytes() []byte + func (block *Block) Validate(issuer any) bool