mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +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
19
storm/big/BigStack.hpp
Normal file
19
storm/big/BigStack.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef STORM_BIG_BIG_STACK_HPP
|
||||
#define STORM_BIG_BIG_STACK_HPP
|
||||
|
||||
#include "storm/big/BigBuffer.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class BigStack {
|
||||
public:
|
||||
// Static variables
|
||||
const static uint32_t SIZE = 16;
|
||||
|
||||
// Member variables
|
||||
BigBuffer m_buffer[SIZE];
|
||||
uint32_t m_used = 0;
|
||||
|
||||
// Member functions
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue