Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl Class Reference
Inheritance diagram for cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl:
Collaboration graph
[legend]

Public Member Functions

 Lz4LegacyReaderImpl (std::unique_ptr< Reader > source)
 
Result< uint64_t > Read (void *buf, uint64_t count) override
 
- Public Member Functions inherited from cuttlefish::Reader
virtual ~Reader ()=default
 
Result< void > Visit (IoVisitor &) override
 
virtual Result< uint64_t > Read (void *buf, uint64_t count)=0
 
- Public Member Functions inherited from cuttlefish::IoVisitable
virtual ~IoVisitable ()=default
 
virtual Result< void > Visit (IoVisitor &)=0
 

Private Attributes

std::unique_ptr< Readersource_
 
std::vector< char > compressed_
 
std::vector< char > decompressed_
 

Constructor & Destructor Documentation

◆ Lz4LegacyReaderImpl()

cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl::Lz4LegacyReaderImpl ( std::unique_ptr< Reader source)
inline

Member Function Documentation

◆ Read()

Result< uint64_t > cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl::Read ( void *  buf,
uint64_t  count 
)
inlineoverridevirtual

Implements cuttlefish::Reader.

Member Data Documentation

◆ compressed_

std::vector<char> cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl::compressed_
private

◆ decompressed_

std::vector<char> cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl::decompressed_
private

◆ source_

std::unique_ptr<Reader> cuttlefish::anonymous_namespace{lz4_legacy.cc}::Lz4LegacyReaderImpl::source_
private

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