public final class CString extends UnsupportedC implements __ptr__
| Constructor and Description |
|---|
CString(int size) |
CString(java.lang.String string) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int i) |
int |
comparePointer(__ptr__ other) |
void |
copyFrom(CString source,
int nb) |
CString |
duplicate() |
java.lang.String |
getContent() |
ST_refstr_t |
getParent() |
__ptr__ |
getTheField(FieldOffset bytes) |
int |
getUid() |
static CString |
gmalloc(int nbytes) |
boolean |
isSame(CString other) |
boolean |
isSameThan(CString other) |
int |
length() |
CString |
plus_(int pointerMove) |
char |
setCharAt(int i,
char c) |
void |
setParent(ST_refstr_t struct) |
CString |
strchr(char c) |
int |
strcmp(CString other) |
int |
strcmp(CString other,
int num) |
CString |
strdup() |
java.lang.String |
toString() |
castTo, isSameThan, unsupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcastTo, isSameThan, unsupportedpublic boolean isSameThan(CString other)
public CString duplicate()
public CString strdup()
public static CString gmalloc(int nbytes)
public __ptr__ getTheField(FieldOffset bytes)
getTheField in interface __ptr__getTheField in class UnsupportedCpublic ST_refstr_t getParent()
public void setParent(ST_refstr_t struct)
public CString plus_(int pointerMove)
public int comparePointer(__ptr__ other)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getContent()
public char charAt(int i)
public char setCharAt(int i,
char c)
public int length()
public int strcmp(CString other)
public int strcmp(CString other, int num)
public void copyFrom(CString source, int nb)
public CString strchr(char c)
public boolean isSame(CString other)
public int getUid()