Elixium Core v0.6.3 Elixium.BlockEncoder View Source

Provides functionality for encoding and decoding blocks

Link to this section Summary

Functions

Decode a block from binary that was previously encoded by encode/1

Encode a block to a binary representation based on the encoding order: @encoding_order

Link to this section Functions

Link to this function decode(block_binary) View Source
decode(binary()) :: Elixium.Block

Decode a block from binary that was previously encoded by encode/1

Link to this function encode(block) View Source
encode(Elixium.Block) :: binary()

Encode a block to a binary representation based on the encoding order: @encoding_order