Added multiblocks methods to data formatter
This commit is contained in:
1 parent
7d9221a1de
commit
798fdf22b7
3 files changed
+135
-25
No files matched your search
@@ -20,6 +20,9 @@ class ModuleDataFormatter {
|
||||
//! Will format a vector of blocks to a given iobase
|
||||
static std::string FormatBlocks(const std::vector<Block>& blocks, const Configuration::IOBASE_FORMAT base);
|
||||
|
||||
//! Will format a string making up multiple block in a given iobase into a vector of block
|
||||
static std::vector<Block> StringToBlocks(const std::string& str, const Configuration::IOBASE_FORMAT base);
|
||||
|
||||
|
||||
private:
|
||||
static std::string Bin2CustomBase(const std::string& bin, const std::vector<std::string>& customSet, std::size_t minLen, const std::string& seperator = "");
|
||||
|
||||
Reference in new issue
Block a user