public void encode(ByteBuf in, ByteBuf out) throws Exception {
            // It is safe to set ctx as null because SnappyFrameEncoder.encoder() does not use it.
            encode(null, in, out);
        }
A {@link SnappyFrameEncoder} that does not require a {@link ChannelHandlerContext}.
This is a workaround for accessing the protected
{@link SnappyFrameEncoder#encode(ChannelHandlerContext, ByteBuf, ByteBuf)}.
core/src/main/java/com/linecorp/armeria/internal/common/encoding/SnappyFramedOutputStream.java