Text this: Investigations on all-optical 2 × 4 decoder using T-shaped nonlinear ring resonator and beam interference effect