kodi
Public Member Functions | Protected Attributes | List of all members
NPT_StringOutputStream Class Reference
Inheritance diagram for NPT_StringOutputStream:
Inheritance graph
[legend]
Collaboration diagram for NPT_StringOutputStream:
Collaboration graph
[legend]

Public Member Functions

 NPT_StringOutputStream (NPT_Size size=4096)
 
 NPT_StringOutputStream (NPT_String *storage)
 
const NPT_StringGetString () const
 
NPT_Result Reset ()
 
NPT_Result Write (const void *buffer, NPT_Size bytes_to_write, NPT_Size *bytes_written=NULL) override
 
NPT_Result Seek (NPT_Position) override
 
NPT_Result Tell (NPT_Position &offset) override
 
- Public Member Functions inherited from NPT_OutputStream
virtual NPT_Result WriteFully (const void *buffer, NPT_Size bytes_to_write)
 
virtual NPT_Result WriteString (const char *string_buffer)
 
virtual NPT_Result WriteLine (const char *line_buffer)
 
virtual NPT_Result Flush ()
 
NPT_Result WriteUI64 (NPT_UInt64 value)
 
NPT_Result WriteUI32 (NPT_UInt32 value)
 
NPT_Result WriteUI24 (NPT_UInt32 value)
 
NPT_Result WriteUI16 (NPT_UInt16 value)
 
NPT_Result WriteUI08 (NPT_UInt8 value)
 

Protected Attributes

NPT_Stringm_String
 
bool m_StringIsOwned
 

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