JavaScript is disabled on your browser.
Skip navigation links
io.netty.handler.codec.compression

Class Lz4FrameEncoder

  • All Implemented Interfaces:
    ChannelHandler, ChannelOutboundHandler


    public class Lz4FrameEncoder
    extends MessageToByteEncoder<ByteBuf>
    Compresses a ByteBuf using the LZ4 format. See original LZ4 Github project and LZ4 block format for full description. Since the original LZ4 block format does not contains size of compressed block and size of original data this encoder uses format like LZ4 Java library written by Adrien Grand and approved by Yann Collet (author of original LZ4 library). * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Magic * Token * Compressed * Decompressed * Checksum * + * LZ4 compressed * * * * length * length * * * block * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Skip navigation links

Copyright © 2008–2025 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /