You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be cool to serialize bytes on the Python side, and automatically have that show up as a Uint8Array on the JavaScript side. It should be possible in JS with a custom reviver, but can't I figure out how to control serialization of bytes. I'm trying to get something like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I think it would be cool to serialize
byteson the Python side, and automatically have that show up as aUint8Arrayon the JavaScript side. It should be possible in JS with a custom reviver, but can't I figure out how to control serialization ofbytes. I'm trying to get something like this:Is it possible to control how
bytesare serialized? Seems like the defaultmsgspecbehavior is used.Beta Was this translation helpful? Give feedback.
All reactions