Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkRawStream Class Referenceabstract
Inheritance diagram for SkRawStream:
SkRawAssetStream SkRawBufferedStream

Public Member Functions

virtual ~SkRawStream ()
 
virtual uint64 getLength ()=0
 
virtual bool read (void *data, size_t offset, size_t length)=0
 
virtual std::unique_ptr< SkMemoryStreamtransferBuffer (size_t offset, size_t size)=0
 

Detailed Description

Definition at line 200 of file SkRawCodec.cpp.

Constructor & Destructor Documentation

◆ ~SkRawStream()

virtual SkRawStream::~SkRawStream ( )
inlinevirtual

Definition at line 202 of file SkRawCodec.cpp.

202{}

Member Function Documentation

◆ getLength()

virtual uint64 SkRawStream::getLength ( )
pure virtual

Implemented in SkRawBufferedStream, and SkRawAssetStream.

◆ read()

virtual bool SkRawStream::read ( void *  data,
size_t  offset,
size_t  length 
)
pure virtual

Implemented in SkRawBufferedStream, and SkRawAssetStream.

◆ transferBuffer()

virtual std::unique_ptr< SkMemoryStream > SkRawStream::transferBuffer ( size_t  offset,
size_t  size 
)
pure virtual

Implemented in SkRawBufferedStream, and SkRawAssetStream.


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