New codec for NrvProtocol