AutoApi.OffroadState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.OffroadState module for more information.
Specs
Build state based on binary value
iex> bin = <<2, 0, 11, 1, 0, 8, 63, 204, 40, 245, 194, 143, 92, 41>> iex> AutoApi.OffroadState.from_bin(bin) %AutoApi.OffroadState{wheel_suspension: %AutoApi.Property{data: 0.22}}