Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
MemBuffer Class Reference

this a base class designed to be used to for items that will share portions of a memorty buufer and want to avoid copying the data More...

#include "membuffer.h"

Inheritance diagram for MemBuffer:
RingBuffer RingBuffer_Slide Buffered_DatagramReader Buffered_DatagramWriter Http_BufferedReader

Public Member Functions

 MemBuffer (size_t len)
 
 MemBuffer (char *data, size_t len)
 
char * GetBuffer (void)
 
const char * GetBuffer (void) const
 
size_t GetBufferSize (void) const
 
void GrowBuffer (size_t len)
 
bool InBufferRange (char *)
 
void SetBuffer (char *data, size_t len)
 

Detailed Description

this a base class designed to be used to for items that will share portions of a memorty buufer and want to avoid copying the data

Use if the class wants ot allow for refrence in place of data arrays.. be carefull could be dangerous **

GmCoreMessage GmRingBuffer

Definition at line 17 of file membuffer.h.


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