Protocol decoder lib