proposal: add bytesof Property, reduce pointer/cast requires

Robert Fraser fraserofthenight at gmail.com
Sat Nov 17 18:47:50 PST 2007


redsea Wrote:

> if d can supply a internal property, let's say bytes of, can give us the correctly byte [] slice

It's not a bad idea, but I can see it being used rarely enough it wouldn't be necessary. Plus, if you're really serializing something for cross-platform use, you should consider endianness, which neither your method nor bytesof would capture.



More information about the Digitalmars-d mailing list