UNPKG
securepay
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
https://www.securepay.com.au/
gitlab.com/daorongliang/securepay
securepay
/
src
/
services
/
common
/
utils
/
utils.service.ts
12 lines
(11 loc)
•
193 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
class
UtilsService
{
constructor
(
) {}
/** * Base 64 Encode String * *
@param
str */
base64Encode
(
str
:
string
) {
return
Buffer
.
from
(str).
toString
(
"base64"
); } }