View source code
Display the source code in std/encoding.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.

Variable std.encoding.bomTable

Mapping of a byte sequence to Byte Order Mark (BOM)

immutable(Tuple!(std.encoding.BOM,"schema",ubyte[],"sequence")[]) bomTable = [Tuple(cast(BOM)0, null), Tuple(cast(BOM)1, [cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)254u, cast(ubyte)255u]), Tuple(cast(BOM)2, [cast(ubyte)255u, cast(ubyte)254u, cast(ubyte)0u, cast(ubyte)0u]), Tuple(cast(BOM)3, [cast(ubyte)43u, cast(ubyte)47u, cast(ubyte)118u, cast(ubyte)57u]), Tuple(cast(BOM)3, [cast(ubyte)43u, cast(ubyte)47u, cast(ubyte)118u, cast(ubyte)43u]), Tuple(cast(BOM)3, [cast(ubyte)43u, cast(ubyte)47u, cast(ubyte)118u, cast(ubyte)47u]), Tuple(cast(BOM)3, [cast(ubyte)43u, cast(ubyte)47u, cast(ubyte)118u, cast(ubyte)56u, cast(ubyte)45u]), Tuple(cast(BOM)3, [cast(ubyte)43u, cast(ubyte)47u, cast(ubyte)118u, cast(ubyte)56u]), Tuple(cast(BOM)8, [cast(ubyte)247u, cast(ubyte)100u, cast(ubyte)76u]), Tuple(cast(BOM)9, [cast(ubyte)221u, cast(ubyte)115u, cast(ubyte)102u, cast(ubyte)115u]), Tuple(cast(BOM)10, [cast(ubyte)14u, cast(ubyte)254u, cast(ubyte)255u]), Tuple(cast(BOM)11, [cast(ubyte)251u, cast(ubyte)238u, cast(ubyte)40u]), Tuple(cast(BOM)12, [cast(ubyte)132u, cast(ubyte)49u, cast(ubyte)149u, cast(ubyte)51u]), Tuple(cast(BOM)13, [cast(ubyte)239u, cast(ubyte)187u, cast(ubyte)191u]), Tuple(cast(BOM)14, [cast(ubyte)254u, cast(ubyte)255u]), Tuple(cast(BOM)15, [cast(ubyte)255u, cast(ubyte)254u])];

Authors

Janice Caron

License

Boost License 1.0.