cancel
Showing results for 
Search instead for 
Did you mean: 

deserializing compressed file from a vector of bytes

Andy
New Contributor

Both read1 and get will implicitly decompress a compressed file. If I have a c function that returns the contents of the compressed file as a list of bytes, is there anyway to to deserialize it to same result as if i called get on the underlying file?

For uncompressed files, i can change the header and use -9! to deserialize. but compressed files are quite different than the output of -18!

1 REPLY 1

charlie
New Contributor II
New Contributor II
no, the decompression code is not designed to work with byte vectors directly