memory usage optimizations for read and write operations

1. Misaligned parameter list.
2. The only field we are using from ```stripeSkipList``` is ```rowCount```, which seems to be same for all blocks. Can we pass that instead of the whole ```stripeSkipList```?
3. Can we make this two functions, one which does the serialization, and another which does the compression? I am thinking of ways to make this function a bit simpler and reduce the number of parameters.