Nanook.QueenBee.ScriptEditor.byteToPrintableChar C# (CSharp) Method

byteToPrintableChar() private method

private byteToPrintableChar ( byte b ) : char
b byte
return char
        private char byteToPrintableChar(byte b)
        {
            char c = (char)b;
            //if (b != 0x09 && (Char.IsSymbol(c) || Char.IsLetterOrDigit(c) || Char.IsWhiteSpace(c) || Char.IsPunctuation(c)))
            if (b != 0x09 && !Char.IsControl(c))
                return c;
            else
                return '.';
        }