AutoApi.OffroadState.to_bin

You're seeing just the function to_bin, go back to AutoApi.OffroadState module for more information.

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.OffroadState{wheel_suspension: %AutoApi.Property{data: 0.22}} iex> AutoApi.OffroadState.to_bin(state) <<2, 0, 11, 1, 0, 8, 63, 204, 40, 245, 194, 143, 92, 41>>