Plumtree UI Infrastructure API  
 

HTMLElement.ToByteArray Method 

Convert a String to a byte array using XPStringUtility's default encoding, UTF-8. If the string is null return an array of zero length.

public static byte[] ToByteArray(
   string _String
);

Parameters

_String
String to convert to a byte array.

Return Value

a byte array derived from the String argument.

See Also

HTMLElement Class | com.plumtree.xpshared.htmlelements Namespace