Warehouse.Utils.GetString C# (CSharp) Method

GetString() private static method

private static GetString ( byte bytes ) : string
bytes byte
return string
        private static string GetString(byte[] bytes) {
            char[] chars = new char[bytes.Length / sizeof(char)];
            System.Buffer.BlockCopy(bytes, 0, chars, 0, bytes.Length);
            return new string(chars);
        }
        #endregion