Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkPiexStream Class Reference
Inheritance diagram for SkPiexStream:

Public Member Functions

 SkPiexStream (SkRawStream *stream)
 
 ~SkPiexStream () override
 
::piex::Error GetData (const size_t offset, const size_t length, uint8 *data) override
 

Detailed Description

Definition at line 418 of file SkRawCodec.cpp.

Constructor & Destructor Documentation

◆ SkPiexStream()

SkPiexStream::SkPiexStream ( SkRawStream stream)
inlineexplicit

Definition at line 421 of file SkRawCodec.cpp.

◆ ~SkPiexStream()

SkPiexStream::~SkPiexStream ( )
inlineoverride

Definition at line 423 of file SkRawCodec.cpp.

423{}

Member Function Documentation

◆ GetData()

::piex::Error SkPiexStream::GetData ( const size_t  offset,
const size_t  length,
uint8 *  data 
)
inlineoverride

Definition at line 425 of file SkRawCodec.cpp.

426 {
427 return fStream->read(static_cast<void*>(data), offset, length) ?
428 ::piex::Error::kOk : ::piex::Error::kFail;
429 }
virtual bool read(void *data, size_t offset, size_t length)=0
size_t length
SeparatedVector2 offset
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

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