code: public void encode(AsnOutputStream aos) throws EncodeException {
  
          // commented code is the whole case encoding implementation
          // now only one version is supported - we use for optimization purpose simple encoding
          // aos.writeBitString(Tag.CLASS_CONTEXT_SPECIFIC, _TAG_PROTOCOL_VERSION, _VALUE);
          aos.write(128);
          aos.write(2);
          aos.write(7);
          aos.write(128);
  
          // BitSetStrictLength bs = new BitSetStrictLength(1);
          // bs.set(0);
          // try {
          // aos.writeBitString(Tag.CLASS_CONTEXT_SPECIFIC, _TAG_PROTOCOL_VERSION, bs);
          // } catch (AsnException e) {
          // // TODO Auto-generated catch block
          // e.printStackTrace();
          // } catch (IOException e) {
          // // TODO Auto-generated catch block
          // e.printStackTrace();
          // }
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.tcap.asn.Encodable#encode(org.mobicents.protocols .asn.AsnOutputStream)