Reads UTF-8 bytes, removes trailing NUL padding, and preserves interior NUL separators.
The decoded string, or undefined when the field is absent or empty after removing trailing NULs.
TypeError for an incompatible field or invalid UTF-8.
Reads UTF-8 bytes, removes trailing NUL padding, and preserves interior NUL separators.