TOC PREV NEXT INDEX


Binary String Types


Binary string are used to represent XSD hexBinary and base64Binary data types. A dynamic binary string type (i.e. one that is not constrained by a length facet) is derived from the OSDynOctStrClass base class. This class allows value assignment through constructors and copyValue and setValue methods.
The constructors allow a binary string to be specified using data pointer and number of octets arguments. One form of the constructor contains an ownMemory argument that makes it possible to transfer the memory management of a dynamic string over to the binary string class. The copyValue method is used make a copy of the given string and assign it to the class. The setValue method sets the base member variables directly to the given arguments.

Copyright © Objective Systems 2002-2005
This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included.
  Objective Systems, Inc.
102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX