mirror of
https://github.com/ultrajson/ultrajson.git
synced 2024-05-30 07:36:10 +02:00
Added explanation text
This commit is contained in:
parent
4e4dc5e4cc
commit
08ff81a21d
|
@ -62,6 +62,9 @@ or UTF-16 surrogate pairs
|
|||
4 bytes input in UTF-8 => \uXXXX\uYYYY (12 bytes).
|
||||
|
||||
4 * 6 => 24 bytes (12 bytes required)
|
||||
|
||||
The extra 2 bytes are for the quotes around the string
|
||||
|
||||
*/
|
||||
#define RESERVE_STRING(_len) (2 + ((_len) * 6))
|
||||
|
||||
|
|
Loading…
Reference in New Issue