typia
typia copied to clipboard
How about `Uint8Array`?
When stringify Buffer
class of NodeJS
, its Buffer.toJSON()
method would be utilized.
However, its origin type Uint8Array
does not have the toJSON()
method and not Array
either.
Therefore, test the TSON.stringify<Uint8Array>()
function.