AutoApi.MessagingState.to_bin
You're seeing just the function
to_bin
, go back to AutoApi.MessagingState module for more information.
Specs
Parse state to bin
iex> text = "Hey mom!" iex> state = %AutoApi.MessagingState{text: %AutoApi.Property{data: text}} iex> AutoApi.MessagingState.to_bin(state) <<1, 11::integer-16, 1, 8::integer-16, 0x48, 0x65, 0x79, 0x20, 0x6D, 0x6F, 0x6D, 0x21>>