OpenGL._bytes

8-bit string definitions for Python 2/3 compatibility
Defines the following which allow for dealing with Python 3 breakages:
STR_IS_BYTES STR_IS_UNICODE
Easily checked booleans for type identities
_NULL_8_BYTE
An 8-bit byte with NULL (0) value
as_8_bit( x, encoding='utf-8')
Returns the value as the 8-bit version
unicode
always pointing to the unicode type
bytes
always pointing to the 8-bit bytes type

Functions