kodi
Public Member Functions | List of all members
NPT_RingBuffer Class Reference

Public Member Functions

 NPT_RingBuffer (NPT_Size size)
 
 NPT_RingBuffer (void *buffer, NPT_Size size)
 
NPT_Size GetSpace () const
 
NPT_Size GetContiguousSpace () const
 
NPT_Result Write (const void *buffer, NPT_Size byte_count)
 
NPT_Size GetAvailable () const
 
NPT_Size GetContiguousAvailable () const
 
NPT_Result Read (void *buffer, NPT_Size byte_count)
 
unsigned char ReadByte ()
 
unsigned char PeekByte (NPT_Position offset)
 
NPT_Result MoveIn (NPT_Position offset)
 
NPT_Result MoveOut (NPT_Position offset)
 
NPT_Result Flush ()
 
NPT_Result Close ()
 
bool IsClosed ()
 
unsigned char * GetWritePointer ()
 
unsigned char * GetReadPointer ()
 

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