An byte array is an array of bytes (unsigned char). It's not necessarily a C style string, which must be zero-terminated. If you need more help, please provide some more context that explains what you're asking about.
On Wed, Mar 05, 2003 at 12:40:37PM -0800, Mark Simonton wrote: > I guess I need a vocabulary refresher. :-) by byte array do you mean a 'C' > style "string" (essentially what you get from string.begin()? > > that seems to be what I am seeing. > > -----Original Message----- > From: Wei Dai [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 12:33 PM > To: [EMAIL PROTECTED] > Subject: Re: Does deep copy for ByteArrayParameter mean ... > > > On Tue, Mar 04, 2003 at 02:09:29PM -0800, Mark Simonton wrote: > > Does deep copy for ByteArrayParameter mean make sure that the data is > copied > > to a new secure byte block? > > I'm not quite sure what you're asking. There is no deep copy option on > ByteArrayParameter, only on ConstByteArrayParameter. The purpose of the > option is, when getting some data out of an object as a byte array, if the > object does not store the data natively as a byte array, it can't just > pass out a pointer to a byte array, so instead it converts its data into a > byte array and passes out a deep copy of it.
