Skip to content

Commit

Permalink
Fix bug in FromBase64CharArray (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasJentsch authored and josesimoes committed Oct 30, 2018
1 parent ce736ff commit a64ed55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/nanoFramework.CoreLibrary/System/Convert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public static byte[] FromBase64CharArray(char[] inArray, int offset, int length)
var destinationArray = new char[length];
Array.Copy(inArray, offset, destinationArray, 0, length);

return FromBase64CharArray(inArray, length);
return FromBase64CharArray(destinationArray, length);
}

[MethodImpl(MethodImplOptions.InternalCall)]
Expand Down

0 comments on commit a64ed55

Please sign in to comment.