clp icon indicating copy to clipboard operation
clp copied to clipboard

Adding a library to support for reading from/writing to memory addresses

Open robinlee09201 opened this issue 1 year ago • 1 comments

Request

Currently, CLP/CLG only supports writing to/reading from files under a specific directory structure in a POSIX file system. However, some FSless applications may wish to store/read data to/from a memory address. A fuse layer may achieve this, but it may cause huge overhead. It would be great to use CLP/CLG as a library providing memory interfaces.

Possible implementation

Providing a C++ class which includes pointers to memory buffers that would otherwise be stored in the archive directory in the current implementation. This class also allows users to call compress, decompress, and search directly instead of going through the command line.

robinlee09201 avatar Dec 15 '23 20:12 robinlee09201