heoq commented on issue #3471:
URL: https://github.com/apache/fory/issues/3471#issuecomment-4044783780

   @chaokunyang Hi! Thank you for the reply. We cannot find a predifined 
`dummy` meta compressor but yeah the following way seems OK. (Btw We didn't 
define the meta compressor explicitly, it seems the `DeflaterMetaCompressor` is 
enabled by default)
   ```java
   Fory.builder().withMetaCompressor(new MetaCompressor() {
       @Override
       public byte[] compress(byte[] bytes, int i, int i1) {
           return bytes;
       }
   
       @Override
       public byte[] decompress(byte[] bytes, int i, int i1) {
           return bytes;
       }
   });
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to