BEUUKQVQ6TPUDVH74NCKA43MMPHOI5X5MF5UNR7WTCAST2HCMBJAC
valtype_vec(binary)
end
defp valtype_vec(binary) do
{length, rest} = u32(binary)
do_valtype_vec(length, rest)
end
defp do_valtype_vec(length, binary) do
do_valtype_vec(length, binary, [])
end
defp do_valtype_vec(0, binary, acc) do
{acc |> Enum.reverse(), binary}
vec(&valtype/1).(binary)