qnx.crypto.Base64

Base64

Methods | Events


Packageqnx.crypto
Classpublic class Base64
InheritanceBase64 Inheritance Object



Class information:
BlackBerry 10 Version:   10.0.0



Public Methods

 MethodDefined By
  
decode(value:String):ByteArray
[static] Decode a base 64 encoded string returning the result as a ByteArray.
Base64
  
encode(value:ByteArray):String
[static] Base 64 encode the contents of a ByteArray returning the resulting string.
Base64

Events

 Event Summary Defined By
  Base64

Method Detail

decode()


public static function decode(value:String):ByteArray

Decode a base 64 encoded string returning the result as a ByteArray.

Parameters

value:String — The string to be decoded

Returns

ByteArray — The value of the decoded string.

encode()


public static function encode(value:ByteArray):String

Base 64 encode the contents of a ByteArray returning the resulting string.

Parameters

value:ByteArray — The ByteArray whose value is to be encoded.

Returns

String — The contents of the ByteArray base 64 encoded.

Event Detail

close


Event Object Type: qnx.crypto.Base64





comments powered by Disqus