Hi, that doesn't make much sense. 1. in .NET a sttring consists of Unicode characters, nothing else. 2. in a database, data is stored in fields, having some type, such as NVARCHAR. 3. "packed decimal" needs details 4. AFAIK "Endian data" does not exist; multi-byte data (such as int or float) can be stored in big-endian or little-endian mode, where one is "natural" on a given system and the other isn't. I suggest you provide: 1. a better explanation of what it is you want 2. two examples with available input data, and the corresponding output data you hope to get (use either all decimal, or better yet all hexadecimal). :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.