Liblinphone  5.5.0
Linphone.Buffer Class Reference
Inheritance diagram for Linphone.Buffer:
Linphone.LinphoneObject

Public Member Functions

void SetContent (uint content, long size)
 

Static Public Member Functions

static Linphone.Buffer NewFromData (uint data, long size)
 
static Linphone.Buffer NewFromString (string data)
 

Properties

uint Content [get]
 
bool IsEmpty [get]
 
long Size [get, set]
 
string StringContent [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

The object representing a data buffer.

Member Function Documentation

static Linphone.Buffer Linphone.Buffer.NewFromData ( uint  data,
long  size 
)
inlinestatic

Create a new Linphone.Buffer object from existing data.

Parameters
dataThe initial data to store in the LinphoneBuffer.
sizeThe size of the initial data to store in the LinphoneBuffer.
Returns
A new Linphone.Buffer object.
static Linphone.Buffer Linphone.Buffer.NewFromString ( string  data)
inlinestatic

Create a new Linphone.Buffer object from a string.

Parameters
dataThe initial string content of the LinphoneBuffer.
Returns
A new Linphone.Buffer object.
void Linphone.Buffer.SetContent ( uint  content,
long  size 
)
inline

Set the content of the data buffer.

Parameters
contentThe content of the data buffer.
sizeThe size of the content of the data buffer.

Property Documentation

uint Linphone.Buffer.Content
get

Get the content of the data buffer.

Returns
The content of the data buffer.
bool Linphone.Buffer.IsEmpty
get

Tell whether the Linphone.Buffer is empty.

Returns
A boolean value telling whether the Linphone.Buffer is empty or not.
long Linphone.Buffer.Size
getset

Get the size of the content of the data buffer.

Returns
The size of the content of the data buffer.
string Linphone.Buffer.StringContent
getset

Get the string content of the data buffer.

Returns
The string content of the data buffer.

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