When xset fields are iterated over, it is found that for the mandated field,
Field name :xstream.name
Field type :application/octet-stream
How is it possible to get the value of the field name, if type is octet-stream? (there is no get method for byte types)
The xstream.name is the name of the field not the data it contains - it is returned via the field iterator, or specified by the application to directly access the field. If the application does not know the field names it created it will be pretty useless!!
The "Get" methods you refer to retrieve the value of properties. To retrieve xstream data you open the stream (XAM_OpenXStream) and read the bytes (XStream_Read).
It is not a property, it is an xstream. There are two types of fields - properties (which are primitive data types and have corresponding "get" methods) and xstreams (which are byte streams). As an xstream is a field so it should obviously be returned by a field iterator.
You can easily get the value of the field (as I described in my previous post).
Finally, the field would be called .xstream.name by whichever application created the XSet. There is no such "mandated field" - in fact, it is an invalid field name because a "user" cannot create files in a namespace beginning with ".".