14using System.Reflection;
15using System.Runtime.InteropServices;
16using System.Runtime.CompilerServices;
17using System.Collections.Generic;
18using System.Threading;
26 public partial class MkBufferListC
28 public partial class MkBufferListC : MkObjectC
31 private readonly
static ConstructorInfo ctor =
getCtor(typeof(MkBufferListC));
32 private readonly
static ThreadLocal<MkBufferListC> MK_NULL =
new ThreadLocal<MkBufferListC>(() => {
44 private static IntPtr MkBufferListC_SelfCreate (IntPtr
mkrt, IntPtr obj, IntPtr env) {
48 private static void MkBufferListC_SelfUnlink (IntPtr
mkrt, IntPtr
self, IntPtr env) {
52 internal static void SetupThreadBFL (IntPtr
mkrt) {
53 Mk.MkCsTypeUpdate(
mkrt, MkCsTypeLookupE.BFL, MkBufferListC_SelfCreate, MkBufferListC_SelfUnlink);
56 #if !META_STATIC_OVERWRITE
58 static MkBufferListC() {
61 SetupThreadBFL(IntPtr.Zero);
67 internal MkBufferListC (IntPtr bufP) : base(bufP) {
72 if (
Mk.MkRefGet(copy.hdl) > 1) {
73 atomCreate(
Mk.MkBufferListDup(
mkrt,copy.hdl));
75 IntPtr bkp = copy.hdl;
86 if (args.Length != 0) {
87 foreach (string a in args) {
88 IntPtr a_cstr = Marshal.StringToHGlobalAnsi(a);
89 Mk.MkBufferListAppendSTR(mkrt, hdl, a_cstr);
90 Marshal.FreeHGlobal(a_cstr);
97 if (args.Length != 0) {
98 foreach (object a in args) {
99 IntPtr a_cstr = Marshal.StringToHGlobalAnsi((string)a);
100 Mk.MkBufferListAppendSTR(mkrt, hdl, a_cstr);
101 Marshal.FreeHGlobal(a_cstr);
108 foreach (
string a
in argv) {
109 IntPtr a_cstr = Marshal.StringToHGlobalAnsi(a);
111 Marshal.FreeHGlobal(a_cstr);
118 foreach (
string a
in argv) {
119 IntPtr a_cstr = Marshal.StringToHGlobalAnsi(a);
121 Marshal.FreeHGlobal(a_cstr);
130 public partial class MkBufferListC {
141 IntPtr __retVal__L =
Mk.MkBufferListAppendLA(mkrt, hdl, args_hdl);
148 IntPtr __retVal__L =
Mk.MkBufferListAppendLP(mkrt, hdl, addBufL_hdl, position);
162 var val_size = Marshal.SizeOf(val[0]) * val.Length;
163 var val_data = Marshal.AllocHGlobal(val_size);
164 Marshal.Copy(val,0,val_data,val_size);
166 Mk.MkBufferListAppendBIN(mkrt, hdl, val_ref);
171 Mk.MkBufferListAppendBOL(mkrt, hdl, (Byte)(val?1:0));
177 Mk.MkBufferListAppendBUF(mkrt, hdl, val_hdl);
182 Mk.MkBufferListAppendDBL(mkrt, hdl, val);
187 Mk.MkBufferListAppendFLT(mkrt, hdl, val);
192 Mk.MkBufferListAppendG(mkrt, hdl, val);
197 Mk.MkBufferListAppendI16(mkrt, hdl, val);
202 Mk.MkBufferListAppendI32(mkrt, hdl, val);
207 Mk.MkBufferListAppendI64(mkrt, hdl, val);
212 Mk.MkBufferListAppendI8(mkrt, hdl, (Byte)(val));
217 IntPtr val_cstr = Marshal.StringToHGlobalAnsi(val);
219 Marshal.FreeHGlobal(val_cstr);
224 IntPtr val_ref_cstr = Marshal.StringToHGlobalAnsi(val);
226 Mk.MkBufferListAppendStringR(mkrt, hdl, val_ref);
227 Marshal.FreeHGlobal(val_ref_cstr);
233 Mk.MkBufferListAppendUP(mkrt, hdl, addBuf_hdl, position);
240 public partial class MkBufferListC {
252 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
253 MkErrorE errVal =
Mk.MkBufferListCheckOptionBUF(mkrt, hdl, opt_cstr, defval_hdl, onlyFirst, out val_out);
254 Marshal.FreeHGlobal(opt_cstr);
263 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
264 bool __retVal__L =
Mk.MkBufferListCheckOption(mkrt, hdl, opt_cstr, onlyFirst);
265 Marshal.FreeHGlobal(opt_cstr);
272 public bool CheckOptionBOL (
string opt,
bool defval =
false,
bool onlyFirst =
true) {
274 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
275 MkErrorE errVal =
Mk.MkBufferListCheckOptionBOL(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
276 Marshal.FreeHGlobal(opt_cstr);
282 public double CheckOptionDBL (
string opt,
double defval = 0,
bool onlyFirst =
true) {
284 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
285 MkErrorE errVal =
Mk.MkBufferListCheckOptionDBL(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
286 Marshal.FreeHGlobal(opt_cstr);
292 public float CheckOptionFLT (
string opt,
float defval = 0F,
bool onlyFirst =
true) {
294 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
295 MkErrorE errVal =
Mk.MkBufferListCheckOptionFLT(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
296 Marshal.FreeHGlobal(opt_cstr);
302 public short CheckOptionI16 (
string opt,
short defval = 0,
bool onlyFirst =
true) {
304 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
305 MkErrorE errVal =
Mk.MkBufferListCheckOptionI16(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
306 Marshal.FreeHGlobal(opt_cstr);
314 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
315 MkErrorE errVal =
Mk.MkBufferListCheckOptionI32(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
316 Marshal.FreeHGlobal(opt_cstr);
322 public long CheckOptionI64 (
string opt,
long defval = 0,
bool onlyFirst =
true) {
324 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
325 MkErrorE errVal =
Mk.MkBufferListCheckOptionI64(mkrt, hdl, opt_cstr, defval, onlyFirst, out val_out);
326 Marshal.FreeHGlobal(opt_cstr);
332 public byte CheckOptionI8 (
string opt,
byte defval = 0,
bool onlyFirst =
true) {
334 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
335 MkErrorE errVal =
Mk.MkBufferListCheckOptionI8(mkrt, hdl, opt_cstr, (Byte)(defval), onlyFirst, out val_out);
336 Marshal.FreeHGlobal(opt_cstr);
338 return (
byte)val_out;
342 public string CheckOptionSTR (
string opt,
string defval =
"",
bool onlyFirst =
true) {
344 IntPtr opt_cstr = Marshal.StringToHGlobalAnsi(opt);
345 IntPtr defval_cstr = Marshal.StringToHGlobalAnsi(defval);
346 MkErrorE errVal =
Mk.MkBufferListCheckOptionSTR(mkrt, hdl, opt_cstr, defval_cstr, onlyFirst, out val_out);
347 Marshal.FreeHGlobal(opt_cstr);
348 Marshal.FreeHGlobal(defval_cstr);
350 return Marshal.PtrToStringAnsi(val_out);
357 public partial class MkBufferListC {
367 IntPtr __retVal__L =
Mk.MkBufferListHandleResolve(IntPtr.Zero, netHdl);
379 public partial class MkBufferListC {
389 IntPtr __retVal__L =
Mk.MkBufferListNext(hdl);
395 IntPtr __retVal__L =
Mk.MkBufferListPrev(hdl);
403 IntPtr __retVal__L =
Mk.MkBufferListInstances(IntPtr.Zero);
411 public partial class MkBufferListC {
421 IntPtr __retVal__L =
Mk.MkBufferListGetNull();
429 public partial class MkBufferListC {
439 IntPtr __retVal__L =
Mk.MkBufferListIndexGetBUF(mkrt, hdl, index);
448 MkErrorE errVal =
Mk.MkBufferListIndexExtract(mkrt, hdl, index, out val_out);
456 MkErrorE errVal =
Mk.MkBufferListIndexGet(mkrt, hdl, index, out val_out);
464 public void IndexDelete (
int index,
int numitems = 1,
bool doDelete =
true) {
465 MkErrorE errVal =
Mk.MkBufferListIndexDelete(mkrt, hdl, index, numitems, doDelete);
471 IntPtr __retVal__L =
Mk.MkBufferListIndexGetSTR(mkrt, hdl, index);
472 return Marshal.PtrToStringAnsi(__retVal__L);
478 MkErrorE errVal =
Mk.MkBufferListIndexSet(mkrt, hdl, index, buf_hdl);
485 Mk.MkBufferListIndexSetBUF(mkrt, hdl, index, buf_hdl);
490 IntPtr str_cstr = Marshal.StringToHGlobalAnsi(str);
491 Mk.MkBufferListIndexSetSTR(mkrt, hdl, index, str_cstr);
492 Marshal.FreeHGlobal(str_cstr);
499 public partial class MkBufferListC {
510 public void LogS (
string varname =
"bfl",
MkObjectC fmtobj =
null, [CallerMemberName]
string callfunc =
null) {
512 IntPtr varname_cstr = Marshal.StringToHGlobalAnsi(varname);
513 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
514 Mk.MkBufferListLogS(mkrt, hdl, varname_cstr, fmtobj_hdl, callfunc_cstr);
515 Marshal.FreeHGlobal(varname_cstr);
516 Marshal.FreeHGlobal(callfunc_cstr);
520 public void LogSS (
string varname =
"bfl",
MkObjectC fmtobj =
null, [CallerMemberName]
string callfunc =
null) {
522 IntPtr varname_cstr = Marshal.StringToHGlobalAnsi(varname);
523 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
524 Mk.MkBufferListLogSS(mkrt, hdl, varname_cstr, fmtobj_hdl, callfunc_cstr);
525 Marshal.FreeHGlobal(varname_cstr);
526 Marshal.FreeHGlobal(callfunc_cstr);
530 public void LogSSS (
string varname =
"bfl",
MkObjectC fmtobj =
null, [CallerMemberName]
string callfunc =
null) {
532 IntPtr varname_cstr = Marshal.StringToHGlobalAnsi(varname);
533 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
534 Mk.MkBufferListLogSSS(mkrt, hdl, varname_cstr, fmtobj_hdl, callfunc_cstr);
535 Marshal.FreeHGlobal(varname_cstr);
536 Marshal.FreeHGlobal(callfunc_cstr);
543 public partial class MkBufferListC {
553 IntPtr pattern_match_cstr = Marshal.StringToHGlobalAnsi(pattern_match);
554 IntPtr __retVal__L =
Mk.MkBufferListFileGlob(IntPtr.Zero, pattern_match_cstr);
555 Marshal.FreeHGlobal(pattern_match_cstr);
556 if (__retVal__L == IntPtr.Zero) {
567 IntPtr __retVal__L =
Mk.MkBufferListPositionMerge(mkrt, hdl, source_hdl, position);
573 IntPtr __retVal__L =
Mk.MkBufferListReset(mkrt, hdl);
579 IntPtr __retVal__L =
Mk.MkBufferListSort(mkrt, hdl);
585 IntPtr __retVal__L =
Mk.MkBufferListToBuffer(mkrt, hdl);
594 Int32 __retVal__L =
Mk.MkBufferListCmp(mkrt, hdl, bfl2_hdl);
601 Mk.MkBufferListCopy(mkrt, hdl, src_hdl);
607 Mk.MkBufferListMove(mkrt, hdl, from_hdl);
612 Mk.MkBufferListReserve(mkrt, hdl, num);
616 public int SearchC (
string str,
int len = -1,
int startindex = 0) {
617 IntPtr str_cstr = Marshal.StringToHGlobalAnsi(str);
618 Int32 __retVal__L =
Mk.MkBufferListSearchC(mkrt, hdl, str_cstr, len, startindex);
619 Marshal.FreeHGlobal(str_cstr);
625 Int32 __retVal__L =
Mk.MkBufferListSize(mkrt, hdl);
638 public partial class MkBufferListC {
648 IntPtr __retVal__L =
Mk.MkBufferListMerge(mkrt, hdl);
649 if (__retVal__L == IntPtr.Zero) {
659 IntPtr __retVal__L =
Mk.MkBufferListDup(mkrt, hdl);
660 if (__retVal__L == IntPtr.Zero) {
669 protected static IntPtr
CTOR (
int size = 0) {
670 IntPtr __retVal__L =
Mk.MkBufferListCreate(IntPtr.Zero, size);
671 if (__retVal__L == IntPtr.Zero) {
674 return (IntPtr)__retVal__L;
682 IntPtr __retVal__L =
Mk.MkBufferListCreate(IntPtr.Zero, size);
683 if (__retVal__L == IntPtr.Zero) {
692 IntPtr __retVal__L =
Mk.MkBufferListCreateLA(IntPtr.Zero, args_hdl);
693 if (__retVal__L == IntPtr.Zero) {
709 IntPtr tlsName_cstr = Marshal.StringToHGlobalAnsi(tlsName);
710 IntPtr __retVal__L =
Mk.MkBufferListCreateTLS(IntPtr.Zero, tlsName_cstr, resetB);
711 Marshal.FreeHGlobal(tlsName_cstr);
726 List<object> ret =
new List<object>(sz);
727 for (
int i=0; i<sz; i++) {
728 ret.Add(IndexGet(i).ToObject());
MkBufferC - the abstract class known as buf or buffer is used to create and manage dynamic,...
static MkBufferC MkBufferC_ObjNew(IntPtr hdl)
MkBufferListC - the class known as bfl or buffer-list is used to create and manage a list of MkBuffer...
MkBufferListC AppendVC(string[] argv)
append a argc/argv list of strings to an MkBufferListS object … → C-API: BufferListAppendVC
MkBufferListC AppendVA(params string[] argv)
append a variable number of strings to an MkBufferListS object … → C-API: BufferListAppendVA
MkBufferListC(params string[] args)
C#: [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0) → C-API Constructs a M...
static MkBufferListC MkBufferListC_ObjNew(IntPtr hdl)
MkBufferListC(MkBufferListC copy)
C#: [constructor] MkBufferListC bfl.Dup() → C-API Dup-Constructor - create a new MkBufferListC i...
MkBufferListC(params object[] args)
C#: [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0) → C-API Constructs a M...
MkErrorC - the class known as err or error is used to create and manage an error message …
static void Check(IntPtr ctx, MkErrorE err)
MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-...
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
static IntPtr getOBJ_null_allow(MkObjectC obj)
static object atomObjCreate(Type type, ConstructorInfo ctor, IntPtr obj)
static void atomSelfUnlink(IntPtr self, IntPtr env)
static object atomSelfNull(ConstructorInfo ctor)
static IntPtr getOBJ(string cls, MkObjectC obj)
static ConstructorInfo getCtor(Type type)
static IntPtr atomSelfCreate(ConstructorInfo ctor, IntPtr obj, IntPtr env)
static Mk.MkBinaryR MkBinaryCreate(long size, IntPtr data)
static void MkBufferListAppendSTR(IntPtr mkrt, IntPtr bfl, IntPtr val)
static Mk.MkStringR MkStringCreate_1(IntPtr str)
void AppendDBL(double val)
C#: doc_mk_cs_BufferListAppendDBL → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendI16(short val)
C#: doc_mk_cs_BufferListAppendI16 → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendStringR(string val)
C#: bfl.AppendStringR(string val) → C-API append a native PRIMITIVE TYPE object to a MkBuffer...
void AppendI8(byte val)
C#: doc_mk_cs_BufferListAppendI8 → C-API append a native PRIMITIVE TYPE object to a MkBufferList...
MkBufferListC AppendLP(MkBufferListC addBufL, int position=-1)
C#: MkBufferListC bfl.AppendLP(MkBufferListC addBufL, int position = -1) → C-API copy a MkBuffe...
MkBufferListC AppendLA(params string[] args)
C#: MkBufferListC bfl.AppendLA(MkBufferListC args) → C-API append a variable number of MkBuffer...
void AppendUP(MkBufferC addBuf, int position=-1)
C#: bfl.AppendUP(MkBufferC addBuf, int position = -1) → C-API append a MkBufferC item into an M...
void AppendI32(int val)
C#: doc_mk_cs_BufferListAppendI32 → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendBIN(byte[] val)
C#: doc_mk_cs_BufferListAppendBIN → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendG(long val)
C#: bfl.AppendG(long val) → C-API append a native PRIMITIVE TYPE object to a MkBufferListC …
void AppendBOL(bool val)
C#: doc_mk_cs_BufferListAppendBOL → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendSTR(string val)
C#: doc_mk_cs_BufferListAppendSTR → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
MkBufferListC AppendLA(MkBufferListC args)
C#: MkBufferListC bfl.AppendLA(MkBufferListC args) → C-API append a variable number of MkBuffer...
void AppendBUF(MkBufferC val)
C#: bfl.AppendBUF(MkBufferC val) → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendFLT(float val)
C#: doc_mk_cs_BufferListAppendFLT → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
void AppendI64(long val)
C#: doc_mk_cs_BufferListAppendI64 → C-API append a native PRIMITIVE TYPE object to a MkBufferL...
double CheckOptionDBL(string opt, double defval=0, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionDBL → C-API search for opt in MkBufferListS list and fill v...
MkBufferC CheckOptionBUF(string opt, MkBufferC defval=null, bool onlyFirst=true)
C#: MkBufferC bfl.CheckOptionBUF(string opt, MkBufferC defval = null, bool onlyFirst = true) → C-AP...
byte CheckOptionI8(string opt, byte defval=0, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionI8 → C-API search for opt in MkBufferListS list and fill var ...
string CheckOptionSTR(string opt, string defval="", bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionSTR → C-API search for opt in MkBufferListS list and fill v...
float CheckOptionFLT(string opt, float defval=0F, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionFLT → C-API search for opt in MkBufferListS list and fill v...
int CheckOptionI32(string opt, int defval=0, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionI32 → C-API search for opt in MkBufferListS list and fill v...
bool CheckOptionBOL(string opt, bool defval=false, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionBOL → C-API search for opt in MkBufferListS list and fill v...
bool CheckOption(string opt, bool onlyFirst=false)
C#: bool bfl.CheckOption(string opt, bool onlyFirst = false) → C-API search for boolean option ...
long CheckOptionI64(string opt, long defval=0, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionI64 → C-API search for opt in MkBufferListS list and fill v...
short CheckOptionI16(string opt, short defval=0, bool onlyFirst=true)
C#: doc_mk_cs_BufferListCheckOptionI16 → C-API search for opt in MkBufferListS list and fill v...
new static MkBufferListC HandleResolve(Int32 netHdl)
C#: [static] MkBufferListC MkBufferListC.HandleResolve(Int32 netHdl) → C-API Handle-Resolve-Slot...
new static MkBufferListC Instances()
C#: [static] MkBufferListC MkBufferListC.Instances() → C-API get head-instance from linked-list ...
new static MkBufferListC GetNull()
C#: [static] MkBufferListC MkBufferListC.GetNull() → C-API Null-Slot - return a MkBufferListC ty...
new MkBufferListC Next()
C#: MkBufferListC bfl.Next() → C-API get next instance from linked-list of MkBufferListS type
new MkBufferListC Prev()
C#: MkBufferListC bfl.Prev() → C-API get previous instance from linked-list of MkBufferListS ty...
void IndexDelete(int index, int numitems=1, bool doDelete=true)
C#: bfl.IndexDelete(int index, int numitems = 1, bool doDelete = true) → C-API delete the index...
void IndexSetBUF(int index, MkBufferC buf)
C#: bfl.IndexSetBUF(int index, MkBufferC buf) → C-API set the index element from MkBufferListC ...
MkBufferC IndexGetBUF(int index)
C#: MkBufferC bfl.IndexGetBUF(int index) → C-API get the index element from MkBufferListC ....
void IndexSetSTR(int index, string str)
C#: bfl.IndexSetSTR(int index, string str) → C-API set the index element from MkBufferListC ....
string IndexGetSTR(int index)
C#: string bfl.IndexGetSTR(int index) → C-API get the index element from MkBufferListC ....
MkBufferC IndexGet(int index)
C#: MkBufferC bfl.IndexGet(int index) → C-API get (read only) the index object from bfl …
MkBufferC IndexExtract(int index=0)
C#: MkBufferC bfl.IndexExtract(int index = 0) → C-API extract (read & delete) the index object ...
void IndexSet(int index, MkBufferC buf)
C#: bfl.IndexSet(int index, MkBufferC buf) → C-API set the index object from bfl …
void LogS(string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null)
C#: bfl.LogS(string varname = "bfl", MkObjectC fmtobj = null, [CallerMemberName]string callfunc = nu...
void LogSSS(string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null)
C#: bfl.LogSSS(string varname = "bfl", MkObjectC fmtobj = null, [CallerMemberName]string callfunc = ...
void LogSS(string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null)
C#: bfl.LogSS(string varname = "bfl", MkObjectC fmtobj = null, [CallerMemberName]string callfunc = n...
List< object > ToList()
C#: List<object> bfl.ToList() → C-API get a target-language list representation of the bfl …
void Copy(MkBufferListC src)
C#: bfl.Copy(MkBufferListC src) → C-API copy all internal data from src to tgt …
void Move(MkBufferListC from)
C#: to.Move(MkBufferListC from) → C-API move all internal data from from to the end of to …
static MkBufferListC FileGlob(string pattern_match)
C#: [constructor,static] MkBufferListC MkBufferListC.FileGlob(string pattern_match) → C-API crea...
int SearchC(string str, int len=-1, int startindex=0)
C#: int bfl.SearchC(string str, int len = -1, int startindex = 0) → C-API search MK_STR item fr...
MkBufferListC PositionMerge(MkBufferListC source, int position)
C#: MkBufferListC bfl.PositionMerge(MkBufferListC source, int position) → C-API merge a MkBuffe...
MkBufferListC Sort()
C#: MkBufferListC bfl.Sort() → C-API sort a MkBufferListC …
MkBufferListC Reset()
C#: MkBufferListC bfl.Reset() → C-API reset a MkBufferListC object …
MkBufferC ToBuffer()
C#: MkBufferC bfl.ToBuffer() → C-API Export a bfl into an MkBufferC using an MkBufferStreamC …
int Cmp(MkBufferListC bfl2)
C#: int bfl.Cmp(MkBufferListC bfl2) → C-API compare two buffer-list …
int Size()
C#: int bfl.Size() → C-API get the number-of-items in the bfl …
void Reserve(int num)
C#: bfl.Reserve(int num) → C-API reserve num items in a MkBufferListC object …
static MkBufferListC CreateTLS(string tlsName, bool resetB=true)
C#: [static] MkBufferListC MkBufferListC.CreateTLS(string tlsName, bool resetB = true) → C-API s...
MkBufferListC(int size=0)
CONSTRUCTOR.
static IntPtr CTOR(int size=0)
C#: [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0) → C-API Constructs a M...
static MkBufferListC CreateLA(params string[] args)
C#: [constructor,static] MkBufferListC MkBufferListC.CreateLA(MkBufferListC args) → C-API Constr...
MkBufferListC Merge()
C#: [constructor] MkBufferListC bfl.Merge() → C-API Merge-Constructor - constructs a MkBufferLis...
MkBufferListC Dup()
C#: [constructor] MkBufferListC bfl.Dup() → C-API Dup-Constructor - create a new MkBufferListC i...
static MkBufferListC CreateLA(MkBufferListC args)
C#: [constructor,static] MkBufferListC MkBufferListC.CreateLA(MkBufferListC args) → C-API Constr...
static MkBufferListC Create(int size=0)
C#: [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0) → C-API Constructs a M...
#define MK_NULL
The Programming-Language-Micro-Kernel (PLMK) NULL value as null in C# …
MkErrorE
→ C-API: MkErrorE → C-API: MkErrorE