Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
BrotliDecoder Struct Referencefinal

#include <compression_utils.h>

Inheritance diagram for BrotliDecoder:
Inheritance graph
[legend]
Collaboration diagram for BrotliDecoder:
Collaboration graph
[legend]

Public Member Functions

 BrotliDecoder (std::span< char > output_buffer)
 
DecodeResult Decode (std::span< char > *output) final
 
- Public Member Functions inherited from Decoder
void Append (Block &&block)
 
bool Finish ()
 
virtual DecodeResult Decode (std::span< char > *output)=0
 

Private Attributes

std::unique_ptr< BrotliDecoderState, void(*)(BrotliDecoderState *)> decoder_
 

Additional Inherited Members

- Protected Member Functions inherited from Decoder
 Decoder (std::span< char > output_buffer)
 
 ~Decoder ()=default
 
- Protected Attributes inherited from Decoder
bool finished_ = false
 
IOVector input_buffer_
 
std::span< char > output_buffer_
 

Constructor & Destructor Documentation

◆ BrotliDecoder()

BrotliDecoder::BrotliDecoder ( std::span< char >  output_buffer)
inlineexplicit

Member Function Documentation

◆ Decode()

DecodeResult BrotliDecoder::Decode ( std::span< char > *  output)
inlinefinalvirtual

Implements Decoder.

Member Data Documentation

◆ decoder_

std::unique_ptr<BrotliDecoderState, void (*)(BrotliDecoderState*)> BrotliDecoder::decoder_
private

The documentation for this struct was generated from the following file: