import {Base64Binary} from '@mobilizing/library/js/Mobilizing/core/util/Misc.js'
Base64Binary
Copyright (c) 2011, Daniel Guerrero All rights reserved. Uses the new array typed in javascript to binary base64 encode/decode at the moment just decodes a binary base64 encoded into either an ArrayBuffer (decodeArrayBuffer) or into an Uint8Array (decode)
References: https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer https://developer.mozilla.org/en/JavaScript_typed_arrays/Uint8Array
Constructor Summary
Public Constructor | ||
public |
Method Summary
Public Methods | ||
public | decode(input: *, arrayBuffer: *): * | |
public | decodeArrayBuffer(input: *): * | |
public | removePaddingChars(input: *): * |
Public Constructors
public constructor() source
Public Methods
public decode(input: *, arrayBuffer: *): * source
Params:
Name | Type | Attribute | Description |
input | * | ||
arrayBuffer | * |
Return:
* |