code: public JBBPOut Short(final String str, final JBBPBitOrder bitOrder) throws IOException {
      assertNotEnded();
      if (this.processCommands) {
        final boolean msb0 = bitOrder == JBBPBitOrder.MSB0;
        for (int i = 0; i < str.length(); i++) {
          short value = (short) str.charAt(i);
          if (msb0) {
            value = (short) JBBPFieldShort.reverseBits(value);
          }
          _writeShort(value);
        }
      }
      return this;
    }
docs: Write codes of chars as 16 bit values into the stream.
  
  @param str      the string which chars will be written, must not be null
  @param bitOrder the bit outOrder
  @return the DSL session
  @throws IOException it will be thrown for transport errors
  @since 1.1