contract/lib/CryptoKeyUtil.js
/**
   * Function to create file content data from base64 encoded string.
   * Create buffer object from base64 encoded string, it is important to tell the constructor 
   * that the string is base64 encoded.
   * @param {*} base64str 
   */
Function to create file content data from base64 encoded string.
Create buffer object from base64 encoded string, it is important to tell the constructor
that the string is base64 encoded.
@param {*} base64str
Function to create file content data from base64 encoded string . Create buffer object from base64 encoded string it is important to tell the constructor that the string is base64 encoded . @param { * } base64str
static base64Decode(base64str) {
    let bitmap = new Buffer(base64str, BASE64);
    logWrite('[base64Decode] bitmap.length: ' + bitmap.length);
    return bitmap;
  }
static base64Decode ( base64str ) { let bitmap = new Buffer ( base64str , BASE64 ) ; logWrite ( '[base64Decode] bitmap.length: ' + bitmap . length ) ; return bitmap ; }
Function to create file content data from base64 encoded string.
Function to create file content data from base64 encoded string .