Method and system for digital transmission