- toCString(String, byte[]) - Static method in class ej.sni.SNI
-
Transforms a Java String into a C String.
The platform default encoding is used to transform Java characters into C characters.
The created C String is a NULL terminated String (ends with '\0').
- toCString(String) - Static method in class ej.sni.SNI
-
Transforms a Java String into a C String.
The platform default encoding is used to transform Java characters into C characters.
The returned C String is a NULL terminated String (ends with '\0').
- toJavaString(byte[]) - Static method in class ej.sni.SNI
-
Transforms a C String into a Java String, using platform default encoding.