View Source otel_utils (opentelemetry_api v1.3.0)
Link to this section Summary
Link to this section Functions
-spec assert_to_binary(unicode:chardata()) -> binary().
-spec format_binary_string(io:format(), [term()]) -> {ok, binary()} | {error, bad_binary_conversion}.
-spec format_binary_string(io:format(), [term()], [{chars_limit, integer()}]) -> {ok, binary()} | {error, bad_binary_conversion}.
-spec unicode_to_binary(unicode:chardata()) -> {ok, binary()} | {error, bad_binary_conversion}.