Skip to content

Commit

Permalink
Fixed in contract for Base64.decode for arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost91- committed Aug 8, 2016
1 parent 4a634ed commit 1bbe7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/base64.d
Expand Up @@ -982,7 +982,7 @@ template Base64Impl(char Map62th, char Map63th, char Padding = '=')
is(R2 == ubyte[]) && isOutputRange!(R2, ubyte))
in
{
assert(buffer.length >= decodeLength(source.length), "Insufficient buffer for decoding");
assert(buffer.length >= realDecodeLength(source), "Insufficient buffer for decoding");
}
out(result)
{
Expand Down

0 comments on commit 1bbe7fe

Please sign in to comment.