BiBase64
This class is used to represent base 64 encoded data
This class extends
BiObject
and therefore all methods and fields available for
BiObject
are also available for
BiBase64
.
Constructor
new
BiBase64
(
[
sBase64Data
]
)
Parameters
| Name | Type | Optional | Default | Descripton |
sBase64Data |
String |
![]() |
Optional string representing the base 64 encoded data |
Properties
| Name | Type | get | set | Descripton |
base64 |
String |
![]() |
![]() |
This is the base 64 encoded data |
text |
String |
![]() |
![]() |
This is the plain text data (the decoded base 64 data) |
Methods
None.
Events
None.
Static Methods
| Name | Description |
decode |
Decodes a base 64 encoded string to a plain text string |
encode |
Encodes a plain text string to a base 64 encoded string |
Static Fields
None.
Remarks
Static Method Details
decode
Decodes a base 64 encoded string to a plain text string
Syntax
BiBase64
.
decode
(
es
)
Parameters
| Name | Type | Optional | Default | Descripton |
es |
String |
The encoded string |
Return Type
String
encode
Encodes a plain text string to a base 64 encoded string
Syntax
BiBase64
.
encode
(
ds
)
Parameters
| Name | Type | Optional | Default | Descripton |
ds |
String |
The decoded string |
Return Type
String
