I need to compress object[][] in C#. I can use Gzip comrepss- decompress a byte[] but how to do it in such cases ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use binary serialization to turn it into a byte array which you’d then zip. Provided all the objects in the array are serializable, you can do the following