theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Misc_CS_API

MkBufferC - various functions to work on buffer-dataMore...

+ Collaboration diagram for MkBufferC_Misc_CS_API:

Functions

MkBufferC csmkkernel.MkBufferC.Copy (MkBufferC srce)
  C#: MkBufferC buf.Copy(MkBufferC srce) C-API
copy the MkBufferC from srce to dest
 
MkBufferC csmkkernel.MkBufferC.Reset ()
  C#: MkBufferC buf.Reset() C-API
reset a MkBufferC to the length zero …
 
MkBufferC csmkkernel.MkBufferC.SizeAdd (int size)
  C#: MkBufferC buf.SizeAdd(int size) C-API
add size storage to the buf
 
MkBufferC csmkkernel.MkBufferC.SizeNew (int size)
  C#: MkBufferC buf.SizeNew(int size) C-API
alloc min size storage to the buf
 
MkBufferC csmkkernel.MkBufferC.Temp ()
  C#: MkBufferC buf.Temp() C-API
create a temporary copy of the MkBufferC buf …
 
void csmkkernel.MkBufferC.CastTo (MkTypeE typ)
  C#: buf.CastTo(MkTypeE typ) C-API
change the type of an MkBufferC to type
 
int csmkkernel.MkBufferC.Cmp (MkBufferC buf2)
  C#: int buf1.Cmp(MkBufferC buf2) C-API
compare TWO MkBufferC objects like strcmp do it for strings …
 
void csmkkernel.MkBufferC.ResetFull ()
  C#: buf.ResetFull() C-API
reset a MkBufferC to the length zero and free allocated storage…
 

Detailed Description

MkBufferC - various functions to work on buffer-data

Function Documentation

◆ CastTo()

void csmkkernel.MkBufferC.CastTo ( MkTypeE typ)
inline

C#: buf.CastTo(MkTypeE typ) C-API
change the type of an MkBufferC to type

Definition at line 402 of file MkBufferC.cs.

402 {
403 MkErrorE errVal = Mk.MkBufferCastTo(mkrt, hdl, typ);
404 MkErrorC.Check(hdl, errVal);
405 }
csmkkernel.MkKernel Mk
MkErrorE
collection for the different error-codes …

◆ Cmp()

int csmkkernel.MkBufferC.Cmp ( MkBufferC buf2)
inline

C#: int buf1.Cmp(MkBufferC buf2) C-API
compare TWO MkBufferC objects like strcmp do it for strings …

Definition at line 408 of file MkBufferC.cs.

408 {
409 IntPtr buf2_hdl = MkBufferC.getOBJ("MkBufferC",buf2);
410 Int32 __retVal__L = Mk.MkBufferCmp(mkrt, hdl, buf2_hdl);
411 return __retVal__L;
412 }

◆ Copy()

MkBufferC csmkkernel.MkBufferC.Copy ( MkBufferC srce)
inline

C#: MkBufferC buf.Copy(MkBufferC srce) C-API
copy the MkBufferC from srce to dest

Definition at line 369 of file MkBufferC.cs.

369 {
370 IntPtr srce_hdl = MkBufferC.getOBJ("MkBufferC",srce);
371 IntPtr __retVal__L = Mk.MkBufferCopy(mkrt, hdl, srce_hdl);
372 return MkBufferC.MkBufferC_ObjNew(__retVal__L);
373 }
+ Here is the caller graph for this function:

◆ Reset()

MkBufferC csmkkernel.MkBufferC.Reset ( )
inline

C#: MkBufferC buf.Reset() C-API
reset a MkBufferC to the length zero …

Definition at line 376 of file MkBufferC.cs.

376 {
377 IntPtr __retVal__L = Mk.MkBufferReset(mkrt, hdl);
378 return MkBufferC.MkBufferC_ObjNew(__retVal__L);
379 }

◆ ResetFull()

void csmkkernel.MkBufferC.ResetFull ( )
inline

C#: buf.ResetFull() C-API
reset a MkBufferC to the length zero and free allocated storage…

Definition at line 415 of file MkBufferC.cs.

415 {
416 Mk.MkBufferResetFull(mkrt, hdl);
417 }

◆ SizeAdd()

MkBufferC csmkkernel.MkBufferC.SizeAdd ( int size)
inline

C#: MkBufferC buf.SizeAdd(int size) C-API
add size storage to the buf

Definition at line 382 of file MkBufferC.cs.

382 {
383 IntPtr __retVal__L = Mk.MkBufferSizeAdd(mkrt, hdl, size);
384 return MkBufferC.MkBufferC_ObjNew(__retVal__L);
385 }

◆ SizeNew()

MkBufferC csmkkernel.MkBufferC.SizeNew ( int size)
inline

C#: MkBufferC buf.SizeNew(int size) C-API
alloc min size storage to the buf

Definition at line 388 of file MkBufferC.cs.

388 {
389 IntPtr __retVal__L = Mk.MkBufferSizeNew(mkrt, hdl, size);
390 return MkBufferC.MkBufferC_ObjNew(__retVal__L);
391 }

◆ Temp()

MkBufferC csmkkernel.MkBufferC.Temp ( )
inline

C#: MkBufferC buf.Temp() C-API
create a temporary copy of the MkBufferC buf …

Definition at line 394 of file MkBufferC.cs.

394 {
395 IntPtr __retVal__L = Mk.MkBufferTemp(mkrt, hdl);
396 return MkBufferC.MkBufferC_ObjNew(__retVal__L);
397 }