Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::bin::KernelBlob Class Reference

#include <dfe.h>

Public Member Functions

 KernelBlob (char *uri, uint8_t *buffer, intptr_t size)
 
std::shared_ptr< uint8_t > buffer ()
 
intptr_t size () const
 

Detailed Description

Definition at line 177 of file dfe.h.

Constructor & Destructor Documentation

◆ KernelBlob()

dart::bin::KernelBlob::KernelBlob ( char *  uri,
uint8_t *  buffer,
intptr_t  size 
)
inline

Definition at line 180 of file dfe.h.

181 : uri_(uri), buffer_(buffer, std::free), size_(size) {}
intptr_t size() const
Definition: dfe.h:184
std::shared_ptr< uint8_t > buffer()
Definition: dfe.h:183

Member Function Documentation

◆ buffer()

std::shared_ptr< uint8_t > dart::bin::KernelBlob::buffer ( )
inline

Definition at line 183 of file dfe.h.

183{ return buffer_; }

◆ size()

intptr_t dart::bin::KernelBlob::size ( ) const
inline

Definition at line 184 of file dfe.h.

184{ return size_; }

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