pub const ENUM_MAX_ENDIANNESS: i16 = 1;
Use associated constants instead. This will no longer be generated in 2021.