Mattias
Fri Jun 11 13:57:04 CDT 2004
Alex,
>22.2 describe how to decode encoded value. Probably PackedLen is not equal
>to encoded value (?).
Yes it is.
>For example in System.dll custom attribute signature
>(22.3) contain follow bytes:
>0x08 - blob length
>0x01, 0x00 - Prolog
>0xfc 0x17 0x00 0x00 - PackedLen? (incorrect encoded value)
>0x00 0x00 - NumNamed
I assume that blob is for the AttributeUsage attribute on
System.ComponentModel.EditorBrowsableAttribute, at least that's the
only occurance of that blob I found in System.dll.
If so, there's no PackedLen involved at all here. 0x000017fc is the
System.AttributeTargets value passed to the attributes first and only
positional parameter.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.