Share raw data between RNBridge

(Greg Linklater) #1

As far as I can see; RN has had TypedArrays implemented on the JS side for quite some time which supposedly provides an interface to “raw memory” (ArrayBuffer). What is the best way to get that through the native bridge?

My current solution to this is to base64 encode my binary data before pushing it through the bridge. Is there a better way to do this? Are there any solutions in the works for this?

Something along the lines of ArrayBuffer => byte[] would be quite nice