Little addition to the comments:
{
Also it can be handy to have an output example of this demonstration program for reference:
*** Begin of Output: ***
program started Operation: Size: 1 Data Bits: 0
Field1: Size: 14 Data Bits: 00100100000001
Field2: Size: 5 Data Bits: 00101
EncodedInformationStream: Size: 36 Encoded bit stream: 110000111100010010000000100110100101
press enter to continue with decode demonstration
Operation: Size: 1 Data Bits: 0
Field1: Size: 14 Data Bits: 00100100000001
Field2: Size: 5 Data Bits: 00101
program finished press enter to exit
*** End of Output: ***
}
Bye, Skybuck.