Function: string-bytes

string-bytes is a function defined in fns.c.

Signature

(string-bytes STRING)

Documentation

Return the number of bytes in STRING.

If STRING is multibyte, this may be greater than the length of STRING.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  CHECK_STRING (string);
  return make_fixnum (SBYTES (string));
}