Searched refs:uncompressedData (Results 1 – 4 of 4) sorted by relevance
41 AuctionServerDataCompressor.UncompressedData uncompressedData = in testCompress() local44 mDataCompressorV0.compress(uncompressedData); in testCompress()45 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); in testCompress()50 AuctionServerDataCompressor.UncompressedData uncompressedData =53 mDataCompressorV0.compress(uncompressedData);54 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length);
41 public CompressedData compress(@NonNull UncompressedData uncompressedData) { in compress() argument42 Objects.requireNonNull(uncompressedData); in compress()50 gzipOutputStream.write(uncompressedData.getData()); in compress()62 public UncompressedData decompress(@NonNull CompressedData uncompressedData) { in decompress() argument63 Objects.requireNonNull(uncompressedData); in decompress()68 new ByteArrayInputStream(uncompressedData.getData()); in decompress()
548 AuctionServerDataCompressor.UncompressedData uncompressedData) {550 AuctionResult result = AuctionResult.parseFrom(uncompressedData.getData());
85 public static byte[] compressWithGzip(byte[] uncompressedData) { in compressWithGzip() argument86 try (ByteString.Output outputStream = ByteString.newOutput(uncompressedData.length); in compressWithGzip()88 gzipOutputStream.write(uncompressedData); in compressWithGzip()