You are writing a method to compress an array of bytes.
The array is passed to the method in a parameter named document.
You need to compress the incoming array of bytes and return the result as an array of bytes.
Which code segment should you use?()
A.
B.
C.
D.