code: static protected byte[] getBytes(
          int bitString)
      {
          if (bitString > 255)
          {
              byte[]  bytes = new byte[2];
  
              bytes[0] = (byte)(bitString & 0xFF);
              bytes[1] = (byte)((bitString >> 8) & 0xFF);
  
              return bytes;
          }
          else
          {
              byte[]  bytes = new byte[1];
  
              bytes[0] = (byte)(bitString & 0xFF);
  
              return bytes;
          }
      }
docs: return the correct number of bytes for a bit string defined in
  a 16 bit constant