boolean and byte types conversion.