mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(big): add SBigFromUnsigned, SBigNew, and SBigToBinaryBuffer
This commit is contained in:
parent
630e6dbb1f
commit
7d5a157162
10 changed files with 211 additions and 0 deletions
20
storm/big/BigData.hpp
Normal file
20
storm/big/BigData.hpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef STORM_BIG_BIG_DATA_HPP
|
||||
#define STORM_BIG_BIG_DATA_HPP
|
||||
|
||||
#include "storm/big/BigBuffer.hpp"
|
||||
#include "storm/big/BigStack.hpp"
|
||||
#include "storm/Array.hpp"
|
||||
|
||||
class BigData {
|
||||
public:
|
||||
// Member variables
|
||||
BigBuffer m_primary;
|
||||
BigStack m_stack;
|
||||
TSGrowableArray<uint8_t> m_output;
|
||||
|
||||
// Member functions
|
||||
TSGrowableArray<uint8_t>& Output() const;
|
||||
BigBuffer& Primary();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue