Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
curl
/
17c8149bde6af927de15ef93d46f1fb0f814b691
/
.
/
tests
/
server
/
base64.pl
blob: 2eab1fa4dff48833e8787a79bde88657de7085c6 [
file
] [
log
] [
blame
]
#!/usr/bin/perl
use
MIME
::
Base64
qw
(
encode_base64
);
my
$buf
;
while
(
read
(
STDIN
,
$buf
,
60
*
57
))
{
my
$enc
=
encode_base64
(
$buf
);
print
"$enc"
;
}