Hey Gerb:
I seen where you responded to this e-mail. Thank you, but I seem to
have lost your response somehow. In it, you had mentioned holding onto
my original array. I think I may be missing something.
I am trying to read an attribute and its value. I can get the attribute
name but need to figure out how to get the value.
Here is what I am currently doing:
H5Array<Byte> buffer2 = new H5Array<Byte>(ConvertToBytes(buffer));
H5A.read(curAttID, curAttNativeType, buffer2);
The original buffer is just an empty Byte[]. I convert it to an H5Array
and populate it with H5a.read(). So the original array won't do me any
good. How do I get a string out of the H5Array? H5Array.ToString()
will not do it.
Thanks,
DB
On 9/4/2011 12:29 AM, Donald Brandon wrote:
Hey all:
Does anyone know an easy way to convert an H5Array<Byte> object back
to a Byte[]?
Thanks.
DB
--
Donald Brandon
228-424-3958 (cell)
http://www.brandondl.com
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org