C# Class Gnip.Client.Utils.StringUtils

显示文件 Open project: electromute/gnip-dotnet

Public Methods

Method Description
ToByteArray ( string str ) : byte[]

Converts a string to a byte array suitable for use with gnip.

ToString ( byte bytes ) : string

Converts a byte array to a string.

Method Details

ToByteArray() public static method

Converts a string to a byte array suitable for use with gnip.
public static ToByteArray ( string str ) : byte[]
str string the string to convert.
return byte[]

ToString() public static method

Converts a byte array to a string.
public static ToString ( byte bytes ) : string
bytes byte
return string