15 #include <Ultralight/Defines.h> 28 static Ref<Buffer> Create(
const void* data,
size_t size);
33 virtual void* data() = 0;
38 virtual size_t size()
const = 0;
44 void operator=(
const Buffer&);
A non-nullable smart pointer.
This is a set of common JavaScriptCore Helper functions to simplify sample code.
The header for all ref-counting utilities.
Interface for all ref-counted objects that will be managed using the Ref<> and RefPtr<> smart pointer...
A fixed-size byte container for passing data around.