Changed Byte Buffer to a Char Buffer