code: public void encodeData(AsnOutputStream asnOs) throws MAPException {
  
          if (this.lcsCodewordString == null)
              throw new MAPException("lcsCodewordString must not be null");
  
          try {
              asnOs.writeOctetString(Tag.CLASS_CONTEXT_SPECIFIC, _TAG_DATA_CODING_SCHEME,
                      new byte[] { (byte) this.dataCodingScheme.getCode() });
  
              ((USSDStringImpl) this.lcsCodewordString).encodeAll(asnOs, Tag.CLASS_CONTEXT_SPECIFIC, _TAG_LCS_CODE_WORD_STRING);
          } catch (IOException e) {
              throw new MAPException("IOException when encoding LCSClientName", e);
          } catch (AsnException e) {
              throw new MAPException("AsnException when encoding LCSClientName", e);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.map.api.primitives.MAPAsnPrimitive#encodeData
  (org.mobicents.protocols.asn.AsnOutputStream)