File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1313 <Compile Include =" stdlib/Builtins.fs" />
1414 <Compile Include =" stdlib/Json.fs" />
1515 <Compile Include =" stdlib/Html.fs" />
16+ <Compile Include =" stdlib/Base64.fs" />
1617 <Compile Include =" stdlib/Math.fs" />
1718 <Compile Include =" stdlib/Os.fs" />
1819 <Compile Include =" stdlib/Queue.fs" />
Original file line number Diff line number Diff line change 1+ module Fable.Python.Base64
2+
3+ open Fable.Core
4+
5+ // fsharplint:disable MemberNames
6+
7+ type IExports =
8+ abstract b64encode : byte [] -> byte []
9+ abstract b64encode : s : byte [] * altchars : byte [] -> byte []
10+
11+ abstract b64decode : byte [] -> byte []
12+ abstract b64decode : string -> byte []
13+ abstract b64decode : s : byte [] * altchars : byte [] -> byte []
14+ abstract b64decode : s : string * altchars : byte [] -> byte []
15+ abstract b64decode : s : byte [] * altchars : byte [] * validate : bool -> byte []
16+ abstract b64decode : s : string * altchars : byte [] * validate : bool -> byte []
17+ abstract b64decode : s : byte [] * validate : bool -> byte []
18+ abstract b64decode : s : string * validate : bool -> byte []
19+
20+ abstract standard_b64encode : byte [] -> byte []
21+ abstract standard_b64decode : string -> byte []
22+ abstract standard_b64decode : byte [] -> byte []
23+ abstract urlsafe_b64encode : byte [] -> byte []
24+ abstract urlsafe_b64decode : string -> byte []
25+ abstract urlsafe_b64decode : byte [] -> byte []
26+ abstract b32encode : byte [] -> byte []
27+ abstract b16encode : byte [] -> byte
28+
29+ /// Base16, Base32, Base64, Base85 Data Encodings
30+ [<ImportAll( " base64" ) >]
31+ let base64 : IExports = nativeOnly
You can’t perform that action at this time.
0 commit comments