Current section
Files
Jump to
Current section
Files
lib/decoding/start_section_parser.ex
defmodule AlchemyVM.Decoder.StartSectionParser do
alias AlchemyVM.LEB128
@moduledoc false
def parse(section) do
{index, _entries} = LEB128.decode_unsigned(section)
{:start, index}
end
end