StringUtils.StringToBytes

Converts a string into bytes for storage in any byte[] types buffer or stream format (like MemoryStream).

public static Byte[] StringToBytes(string text,
	Encoding encoding)

Parameters

text

encoding
The character encoding to use. Defaults to Unicode


See also:

Class StringUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic