MemoryPointerStringIO extension
- on
Methods
-
readStringArray(
int count) → List< String> -
Available on MemoryPointer<
ReadsRPointer< , provided by the MemoryPointerStringIO extensionRChar> >countC strings from achar**-style pointer (this pointer points at an array of char* pointers, each read and decoded). -
writeStringArray(
List< String> strings, [List<int> ? slotSizes]) → void -
Available on MemoryPointer<
WritesRPointer< , provided by the MemoryPointerStringIO extensionRChar> >stringsinto this pre-allocated char**-sized buffer. Both the outer array (strings.length pointer slots) and each inner char* target buffer must already exist. [slotSizesi] is the real allocated byte capacity of slot i's buffer (bytes available, terminator included), if not provided, string's length is used instead.