1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

LibJS: Add all of the DataView.prototype.set* methods

This commit is contained in:
Idan Horowitz 2021-06-14 02:02:53 +03:00 committed by Linus Groh
parent c54b9a6920
commit d7a70eb77c
8 changed files with 203 additions and 0 deletions

View file

@ -65,6 +65,8 @@ public:
static SignedBigInteger from_base10(StringView str);
String to_base10() const;
u64 to_u64() const;
const UnsignedBigInteger& unsigned_value() const { return m_unsigned_data; }
const Vector<u32, STARTING_WORD_SIZE> words() const { return m_unsigned_data.words(); }
bool is_negative() const { return m_sign; }