This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
Feature: Calculate file hash (with links to source code) #439
Closed
Description
EDIT: See below, the topic changed. It now is a feature request.
I looked at react-native-fs and at this package (which we already use). I must save binary files - not base64 encoded (we save files under the SHA-256 of their content, and a base64 encoded binary has a completely different SHA-256 than the binary version - but then our distributed system would not recognize those files as the same).
I'm confused.
Do you know why binary always is text (base64) in React-Native? I don't get it. I don't understand programming for mobile, but I doubt Android only handles text files. Nor is Javascript limited to text files.
So why can't I save BINARY files?