
[;1m  external_size(Term)[0m

[;;4mSince[0m:
  OTP R14B04

  Calculates, without doing the encoding, the maximum byte size for
  a term encoded in the Erlang external term format.

  The following condition applies always:

    > Size1 = byte_size(term_to_binary(Term)),
    > Size2 = erlang:external_size(Term),
    > true = Size1 =< Size2.
    true

  This is equivalent to a call to:

    erlang:external_size(Term, [])

[;1m  external_size(Term, Options)[0m

[;;4mSince[0m:
  OTP R14B04

  Calculates, without doing the encoding, the maximum byte size for
  a term encoded in the Erlang external term format.

  The following condition applies always:

    > Size1 = byte_size(term_to_binary(Term, Options)),
    > Size2 = erlang:external_size(Term, Options),
    > true = Size1 =< Size2.
    true

  Option [;;4m{minor_version, Version}[0m specifies how floats are
  encoded. For a detailed description, see [;;4mterm_to_binary/2[0m.
