public byte[] allocDecodeBuffer(int size) {
        byte[] buf = decodingBuffer;
        if (buf == null || buf.length < size) {
            buf = new byte[size];
        } else {
            decodingBuffer = null;
        }
        return buf;
    }
Accessor to get thread-local recycler instance
codec/codec-api/src/main/java/com/alipay/sofa/rpc/codec/snappy/BufferRecycler.java