bytes.len

bytes.len

bytes.len

Function

Returns the length in bytes of Bytes.

Syntax

Parameters

No parameters.

Return value

TypeDescription
IntNumber of bytes.

Code Example

Notes

  • len() counts raw bytes, not the number of characters.