Closed gekailin closed 8 years ago
The original code may produce a string shorter than length, because the generated buffer may contain some '\0' bytes.
length
Thanks @gekailin.
The original code may produce a string shorter than
length
, because the generated buffer may contain some '\0' bytes.