| Pepper_47_C_interfaces
    | 
#include <ppb_buffer_dev.h>

| Public Attributes | |
| PP_Resource(* | Create )(PP_Instance instance, uint32_t size_in_bytes) | 
| PP_Bool(* | IsBuffer )(PP_Resource resource) | 
| PP_Bool(* | Describe )(PP_Resource resource, uint32_t *size_in_bytes) | 
| void *(* | Map )(PP_Resource resource) | 
| void(* | Unmap )(PP_Resource resource) | 
Definition at line 30 of file ppb_buffer_dev.h.
| PP_Resource(* PPB_Buffer_Dev_0_4::Create)(PP_Instance instance, uint32_t size_in_bytes) | 
Allocates a buffer of the given size in bytes. The return value will have a non-zero ID on success, or zero on failure. Failure means the module handle was invalid. The buffer will be initialized to contain zeroes.
Definition at line 36 of file ppb_buffer_dev.h.
| PP_Bool(* PPB_Buffer_Dev_0_4::Describe)(PP_Resource resource, uint32_t *size_in_bytes) | 
Gets the size of the buffer. Returns PP_TRUE on success, PP_FALSE if the resource is not a buffer. On failure, |*size_in_bytes| is not set.
Definition at line 46 of file ppb_buffer_dev.h.
| PP_Bool(* PPB_Buffer_Dev_0_4::IsBuffer)(PP_Resource resource) | 
Returns PP_TRUE if the given resource is a Buffer. Returns PP_FALSE if the resource is invalid or some type other than a Buffer.
Definition at line 41 of file ppb_buffer_dev.h.
| void*(* PPB_Buffer_Dev_0_4::Map)(PP_Resource resource) | 
Maps this buffer into the plugin address space and returns a pointer to the beginning of the data.
Definition at line 51 of file ppb_buffer_dev.h.
| void(* PPB_Buffer_Dev_0_4::Unmap)(PP_Resource resource) | 
Unmaps this buffer.
Definition at line 55 of file ppb_buffer_dev.h.
 1.8.6
 1.8.6