AutoApi.UsageState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.UsageState{safety_driving_score: %AutoApi.Property{data: 0.67}} iex> AutoApi.UsageState.to_bin(state) <<17, 0, 11, 1, 0, 8, 63, 229, 112, 163, 215, 10, 61, 113>>