The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SDL2::endian - Basic Endian-specific Values

SYNOPSIS

    use SDL2 qw[:endian];

DESCRIPTION

SDL2::endian contains values which might be useful for reading and writing endian-specific values.

Defined Values

These may be imported with the :endian tag.

The two types of endianness

SDL_BYTEORDER - System's byteorder
SDL_LIL_ENDIAN - Example little endian value to compare against
SDL_BIG_ENDIAN - Example big endian value to compare against

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>