AutoApi.MessagingState.from_bin

You're seeing just the function from_bin, go back to AutoApi.MessagingState module for more information.

Specs

from_bin(binary()) :: t()

Build state based on binary value

iex> text = "Hey mom!" iex> size = byte_size(text) iex> AutoApi.MessagingState.from_bin(<<1, size + 3::integer-16, 1, size::integer-16, text::binary>>) %AutoApi.MessagingState{text: %AutoApi.Property{data: "Hey mom!"}}