Implemented by types for which we can retrieve the number of bytes.
See also: chars on str.
chars
str