Returns nil when binary is nil