Repository
public class |source

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

Member Summary

Private Members
private

Method Summary

Public Methods
public

decode(input: *, arrayBuffer: *): *

public

decodeArrayBuffer(input: *): *

public

removePaddingChars(input: *): *

Public Constructors

public constructor() source

Private Members

private _keyStr: string source

Public Methods

public decode(input: *, arrayBuffer: *): * source

Params:

NameTypeAttributeDescription
input*
arrayBuffer*

Return:

*

public decodeArrayBuffer(input: *): * source

Params:

NameTypeAttributeDescription
input*

Return:

*

public removePaddingChars(input: *): * source

Params:

NameTypeAttributeDescription
input*

Return:

*