AutoApi.TextInputState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.TextInputState module for more information.
Specs
Build state based on binary value
iex> text = "Rendezvous with Rama" iex> size = byte_size(text) iex> AutoApi.TextInputState.from_bin(<<1, size + 3::integer-16, 1, size::integer-16, text::binary>>) %AutoApi.TextInputState{text: %AutoApi.Property{data: "Rendezvous with Rama"}}