AutoApi.TrunkState.to_bin
You're seeing just the function
to_bin
, go back to AutoApi.TrunkState module for more information.
Specs
Parse state to bin
iex> state = %AutoApi.TrunkState{lock: %AutoApi.Property{data: :locked}} iex> AutoApi.TrunkState.to_bin(state) <<1, 0, 4, 1, 0, 1, 1>>