buffer to struct type conversion...TArrayStream?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 19 11:18:11 PDT 2015


On Thu, 19 Mar 2015 10:47:05 -0700, Charles Hixson via Digitalmars-d-learn
wrote:

turn it 90 degrees. ;-)

  auto cvt = cast(Node_*)buf.ptr;
  n = cvt[0];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150319/6ce9ef4d/attachment.sig>


More information about the Digitalmars-d-learn mailing list