1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

AK: Change the signature of AK::encode_base64() to use Span.

This commit is contained in:
asynts 2020-07-27 14:16:33 +02:00 committed by Andreas Kling
parent 5fa0fdb219
commit abe925e4b0
5 changed files with 7 additions and 6 deletions

View file

@ -75,6 +75,6 @@ int main(int argc, char** argv)
return 0;
}
auto encoded = encode_base64(buffer);
auto encoded = encode_base64(buffer.span());
printf("%s\n", encoded.characters());
}