//ERDDAP/com.cohort.util/ScriptString2/toByteArray
toByteArray
[JVM]
open fun toByteArray(s: String): Array<Byte>
This extracts the lower 8 bits of each char to form a byte array.
Return
the corresponding byte[] (or null if s is null)
Parameters
JVM
s | a String |