Skip to content
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
@lll000111

Description

@lll000111

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions