Variant/Value: unsigned type support
- Lenguaje dominante
- Java
- Estrellas
- 0
- Forks
- 6
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently we only support signed integer types, because Java traditionally only supported unsigned data types. This changed with Java 8 which added support for unsigned interpretation of data represented by `int`/`long.` See [Java Datatypes][https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html). In Java `Variant`/`Value` bindings we only allow getting the signed types because we call `get()` with a signed argument and if the underlying type is unsigned that will fail in the datatype check. I wonder if it not best to augment `Variant` to better support the bindings by adding a function that allows copying the raw data to a buffer of specified size or something.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza por las llamadas de binding de Java Variant/Value que usan get() y compáralas con las comprobaciones de tipos de datos subyacentes de Variant. Define la finalización como una forma compatible de recuperar representaciones de unsigned int y long sin rechazar tipos con signo, con cobertura para los casos unsigned de Java 8 descritos en el issue.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100