We have implemented a data stream to Blockchain mini filesystem.
We can now store the data with like a left shift and unload data with like a right shift.
it has adopted a design that don’t use “memmove” with re-allocate memory. Therefore, data can be stored smoothly.
https://github.com/FromHDDtoSSD/blockchain_mini_filesystem/blob/master/fs_datastream.h