BLE.Client.ViewModels.DescriptorDetailViewModel.GetBytes C# (CSharp) Method

GetBytes() private static method

private static GetBytes ( string text ) : byte[]
text string
return byte[]
        private static byte[] GetBytes(string text)
        {
            return text.Split(' ').Where(token => !string.IsNullOrEmpty(token)).Select(token => Convert.ToByte(token, 16)).ToArray();
        }
    }