Software library for communications protocol attains a compact program size by minimizing the number of embedded functions.