MCPcopy Index your code
hub / github.com/java-native-access/jna / toByteArray

Method toByteArray

src/com/sun/jna/Native.java:964–966  ·  view source on GitHub ↗

@param s The string @return A NUL-terminated byte buffer equivalent to the given String, using the encoding returned by #getDefaultStringEncoding(). @see #toByteArray(String, String)

(String s)

Source from the content-addressed store, hash-verified

962 * @see #toByteArray(String, String)
963 */
964 public static byte[] toByteArray(String s) {
965 return toByteArray(s, getDefaultStringEncoding());
966 }
967
968 /**
969 * @param s The string. Must not be {@code null}.

Callers 12

DATA_BLOBMethod · 0.95
CertStoreProviderNameMethod · 0.95
RASEAPINFOMethod · 0.95
RASDEVSPECIFICINFOMethod · 0.95
checkPerformanceMethod · 0.95
testToByteArrayMethod · 0.95
executeMethod · 0.45

Calls 3

getCharsetMethod · 0.95
getBytesMethod · 0.95