Class ParamsContentParser


  • public class ParamsContentParser
    extends ContentParser

    Parser for the PARAMS frame body.

     struct small_name_small_value_params_body {
         ubyte nameLength;
         ubyte valueLength;
         ubyte[] nameBytes;
         ubyte[] valueBytes;
     }
    
     struct small_name_large_value_params_body {
         ubyte nameLength;
         uint valueLength;
         ubyte[] nameBytes;
         ubyte[] valueBytes;
     }
    
     struct large_name_small_value_params_body {
         uint nameLength;
         ubyte valueLength;
         ubyte[] nameBytes;
         ubyte[] valueBytes;
     }
    
     struct large_name_large_value_params_body {
         uint nameLength;
         uint valueLength;
         ubyte[] nameBytes;
         ubyte[] valueBytes;
     }