public static boolean isUnsigned(final PrimitiveType type)
    {
        switch (type)
        {
            case UINT8:
            case UINT16:
            case UINT32:
            case UINT64:
                return true;

            default:
                return false;
        }
    }
Is the type an unsigned type like in C.

@param type to be tested.
@return true if unsigned otherwise false.
sbe-tool/src/main/java/uk/co/real_logic/sbe/PrimitiveType.java