Ultralight  1.0.0
A fast, lightweight, HTML UI engine for native apps.
ultralight::Buffer Class Referenceabstract

A fixed-size byte container for passing data around. More...

#include <Buffer.h>

Inheritance diagram for ultralight::Buffer:
ultralight::RefCounted

Public Member Functions

virtual void * data ()=0
 Get a pointer to raw byte data.
 
virtual size_t size () const =0
 Get the size in bytes.
 

Static Public Member Functions

static Ref< BufferCreate (const void *data, size_t size)
 Create a Buffer, a copy of data is made.
 

Detailed Description

A fixed-size byte container for passing data around.

Definition at line 23 of file Buffer.h.


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