javascript encode byte array to base64 code example
Example: c# byte array to base64
public static string ToBase64String (byte[] inArray, int offset, int length, Base64FormattingOptions options);
public static string ToBase64String (byte[] inArray, int offset, int length, Base64FormattingOptions options);