AutoApi.TachographState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.TachographState{vehicle_motion: %AutoApi.Property{data: :detected}} iex> AutoApi.TachographState.to_bin(state) <<4, 0, 4, 1, 0, 1, 1>>