Mencode
Bun

method

util.TextEncoder.encode

input?: string
): NonSharedUint8Array;