Octel String

Jochen Katz katz____agentpp.com
Fri Oct 19 19:21:16 CEST 2001


Hi,


> [how to assign a sting with a null byte to an octet string]

you can use one of the followiing constuctor/methods:

  // constructor using an unsigned char *
  OctetStr( const unsigned char * string, unsigned long int size);

  // set the data on an already constructed Octet
  void set_data( const unsigned char * string,
                         unsigned long int size);

  // append one octetStr to another
  OctetStr& operator+=( const OctetStr& octetstr);

Kind regards,
  Jochen





More information about the AGENTPP mailing list