Returns the size of a code unit in bytes depending on the stream's
encoding. This returns 2 for the encodings ENC_UNICODE_BE
and ENC_UNICODE_LE, sizeof(wchar_t) for ENC_WCHAR
and 1 for all other encodings (including multibyte encodings such as
ENC_UTF8.