Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Jan 22, 2018
1 parent 432620c commit 3ed6ec9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions source/ALString.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7163,18 +7163,14 @@ function ALBase64DecodeStringU(const S: String; const AEncoding: TEncoding = nil

{**********************************************************}
function ALBase64EncodeBytesU(const Bytes: Tbytes): String;
var StrBuf: String;
begin
StrBuf := StringOf(Bytes);
result := String(ALBase64EncodeString(AnsiString(StrBuf)));
result := String(ALBase64EncodeString(AnsiString(StringOf(Bytes))));
end;

{******************************************************}
function ALBase64DecodeBytesU(const S: String): Tbytes;
var StrBuf: String;
begin
StrBuf := String(ALBase64DecodeString(AnsiString(S)));
result := BytesOf(StrBuf);
result := BytesOf(String(ALBase64DecodeString(AnsiString(S))));
end;

{$IFEND}
Expand Down

0 comments on commit 3ed6ec9

Please sign in to comment.