[swift-users] Custom little/big endian data structure.

Adrian Zubarev adrian.zubarev at devandartist.com
Sun Oct 30 14:50:42 CDT 2016

Hi there,

is there actually a way to build a custom data structure that will automatically be converted to little/big endian on a little/big endian system, just like (U)Int16/32/64 do?

I could build as a workaround a mechanism that will do that for me, but I’m curious if this is possible with some workaround. 

Specifically, I’m talking about a 128 Bit data structure.

Best regards,

Adrian Zubarev
Sent with Airmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161030/5e96e243/attachment.html>

More information about the swift-users mailing list