To help with issues like #9, this PR updates the decode/decode_with documentation to specify that the output buffer should be at least three times as big as the number of characters in the input, since each 2-byte UCS-2 character could end up as a 3-byte UTF-8 character.
To help with issues like #9, this PR updates the
decode
/decode_with
documentation to specify that the output buffer should be at least three times as big as the number of characters in the input, since each 2-byte UCS-2 character could end up as a 3-byte UTF-8 character.