AutoApi.TextInputState.to_bin
You're seeing just the function
to_bin
, go back to AutoApi.TextInputState module for more information.
Specs
Parse state to bin
iex> text = "Rendezvous with Rama" iex> state = %AutoApi.TextInputState{text: %AutoApi.Property{data: text}} iex> AutoApi.TextInputState.to_bin(state) <<1, 23::integer-16, 1, 20::integer-16, 0x52, 0x65, 0x6E, 0x64, 0x65, 0x7A, 0x76, 0x6F, 0x75, 0x73, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x52, 0x61, 0x6D, 0x61>>