Use extension methods on primitive types (int, string, etc) to perform the toBytes/fromBytes conversions

Registered by Eric P. Mangold

It would be nicer to have an interface, IAMPEncoding, that has two methods for encoding types to bytes on the wire, and decoding bytes to instances of the corresponding type.

Will implement this interface as extension methods on the primitive types themselves such as int, string, decimal, etc...

Other folks that implement their own AMP wire-level types can implement this interface so that their types will be handled by the AMP assembly correctly.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Eric P. Mangold

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.