mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibCrypto: Change [XXX]BigInteger::export_data() to use Span.
This commit is contained in:
parent
abe925e4b0
commit
4709b700bd
6 changed files with 16 additions and 26 deletions
|
@ -55,7 +55,7 @@ UnsignedBigInteger UnsignedBigInteger::create_invalid()
|
|||
return invalid;
|
||||
}
|
||||
|
||||
size_t UnsignedBigInteger::export_data(AK::ByteBuffer& data) const
|
||||
size_t UnsignedBigInteger::export_data(Bytes data) const
|
||||
{
|
||||
size_t word_count = trimmed_length();
|
||||
size_t out = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue