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, 2019 • Updated: 06/23/19
Comment or report problem with topic