%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  integer_to_binary(Integer, Base)[0m

[;;4mSince[0m:
  OTP R16B

  Returns a binary corresponding to the text representation of [;;4m[0m
  [;;4mInteger[0m in base [;;4mBase[0m.

  For example:

    > integer_to_binary(1023, 16).
    <<"3FF">>
