Groups
Groups
Sign in
Groups
Groups
excellibrary
Conversations
About
Send feedback
Help
Record Type Enum
14 views
Skip to first unread message
xiv
unread,
Mar 30, 2009, 7:37:33 AM
3/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to excellibrary
Hi all,
Thanks for a wonderful job.
Just looking through the code - RecordType is coded as a regular
class.
I believe that
public enum RecordType: ushort
would be neater
also
in that case the Record class could have
public RecordType Type;
as a member, not UInt16
(much neater in my opinion)
thanks
--
xiv
Liu Junfeng
unread,
Mar 30, 2009, 7:53:04 AM
3/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to excell...@googlegroups.com
Hi, I've also thought of using enum, but when doing binary encode and decode it requires a lot of UInt16 and
RecordType conversion codes.
Reply all
Reply to author
Forward
0 new messages