Open lxsmnsyc opened 1 year ago
To watch out: https://github.com/tc39/proposal-arraybuffer-base64
Would you recommend converting Uint8Array to base64 and back?
Sending ArrayBuffer
from SolidStart.js use server
is slow. Not too sure where the bottleneck is.
Currently
Blob
andFile
relies onArrayBuffer
serialization, which means it uses theUint8Array
indirectly. This serialization form is accurate, but is probably too large for consideration.Blob
acceptsUint8Array
,ArrayBuffer
,DataView
and string, so it's probably ideal if the string format can be utilized instead.