//http://tinyerp.codeplex.com/
//GNU Library General Public License (LGPL)
//-----------------------------------------------------------------------
//
// Copyright (c) Pyramid Consulting. All rights reserved.
//
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace Bamboo.Core.Common
{
public class SysUtil
{
///
/// get the byte array from a string using default encoding
///
/// source string
/// converted array
public static byte[] StringToBytes(String strData)
{
return System.Text.Encoding.GetEncoding(0).GetBytes(strData);
}
}
}