-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
142 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[*.fs] | ||
max_line_length=120 | ||
insert_final_newline=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
module Fable.Python.Base64 | ||
|
||
open Fable.Core | ||
|
||
// fsharplint:disable MemberNames | ||
|
||
[<Erase>] | ||
type IExports = | ||
abstract b64encode : byte[] -> byte[] | ||
abstract b64encode : s : byte[] * altchars: byte[] -> byte[] | ||
|
||
abstract b64decode : byte[] -> byte[] | ||
abstract b64decode : string -> byte[] | ||
abstract b64decode : s: byte[] * altchars : byte[] -> byte[] | ||
abstract b64decode : s: string * altchars : byte[] -> byte[] | ||
abstract b64decode : s: byte[] * altchars : byte[] * validate: bool -> byte[] | ||
abstract b64decode : s: string * altchars : byte[] * validate: bool -> byte[] | ||
abstract b64decode : s: byte[] * validate: bool -> byte[] | ||
abstract b64decode : s: string * validate: bool -> byte[] | ||
|
||
abstract standard_b64encode : byte[] -> byte[] | ||
abstract standard_b64decode : string -> byte[] | ||
abstract standard_b64decode : byte[] -> byte[] | ||
abstract urlsafe_b64encode : byte[] -> byte[] | ||
abstract urlsafe_b64decode : string -> byte[] | ||
abstract urlsafe_b64decode : byte[] -> byte[] | ||
abstract b32encode : byte[] -> byte[] | ||
abstract b16encode : byte[] -> byte | ||
|
||
/// Base16, Base32, Base64, Base85 Data Encodings | ||
[<ImportAll("base64")>] | ||
let base64: IExports = nativeOnly | ||
module Fable.Python.Base64 | ||
|
||
open Fable.Core | ||
|
||
// fsharplint:disable MemberNames | ||
|
||
[<Erase>] | ||
type IExports = | ||
abstract b64encode: byte[] -> byte[] | ||
abstract b64encode: s: byte[] * altchars: byte[] -> byte[] | ||
|
||
abstract b64decode: byte[] -> byte[] | ||
abstract b64decode: string -> byte[] | ||
abstract b64decode: s: byte[] * altchars: byte[] -> byte[] | ||
abstract b64decode: s: string * altchars: byte[] -> byte[] | ||
abstract b64decode: s: byte[] * altchars: byte[] * validate: bool -> byte[] | ||
abstract b64decode: s: string * altchars: byte[] * validate: bool -> byte[] | ||
abstract b64decode: s: byte[] * validate: bool -> byte[] | ||
abstract b64decode: s: string * validate: bool -> byte[] | ||
|
||
abstract standard_b64encode: byte[] -> byte[] | ||
abstract standard_b64decode: string -> byte[] | ||
abstract standard_b64decode: byte[] -> byte[] | ||
abstract urlsafe_b64encode: byte[] -> byte[] | ||
abstract urlsafe_b64decode: string -> byte[] | ||
abstract urlsafe_b64decode: byte[] -> byte[] | ||
abstract b32encode: byte[] -> byte[] | ||
abstract b16encode: byte[] -> byte | ||
|
||
/// Base16, Base32, Base64, Base85 Data Encodings | ||
[<ImportAll("base64")>] | ||
let base64: IExports = nativeOnly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.