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

[;1m  iolist_size(Item)[0m

  Returns an integer, that is the size in bytes, of the binary that
  would be the result of [;;4miolist_to_binary(Item)[0m.

  For example:

    > iolist_size([1,2|<<3,4>>]).
    4
