View source code
Display the source code in std/system.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
std.system.Endian/endian
- multiple declarations
Variable endian
The endianness that the program was compiled for.
Enum Endian
Byte order endianness.
enum Endian
: int { ... }
Enum members
Name | Description |
---|---|
bigEndian
|
Big endian byte order |
littleEndian
|
Little endian byte order |
Note
This is intended for cases where you need to deal with endianness at
runtime. If you're doing something which should compile differently
depending on whether you're compiling on a big endian or little
endian machine, then please use version(BigEndian)
and
version(LittleEndian)
.
See Also
Authors
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.