Skip to content

Commit

Permalink
docs(readme): mention the URL-safe dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
craftzdog committed Apr 11, 2024
1 parent 9d02dfd commit 2c35724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Takes a base64 string and returns a byte array. Optional `removeLinebreaks` rem

#### `fromByteArray(uint8: Uint8Array, urlSafe: boolean = false): string`

Takes a byte array and returns a base64 string. Optional `urlSafe` flag `true` allows for use in URLs.
Takes a byte array and returns a base64 string. Optional `urlSafe` flag `true` will use [the URL-safe dictionary](https://github.com/craftzdog/react-native-quick-base64/blob/9d02dfd02599ca104d2ed6c1e2d938ddd9d6cd15/cpp/base64.h#L75).

#### `btoa(data: string): string`

Expand Down

0 comments on commit 2c35724

Please sign in to comment.