Bug 178

: Need to add extra sizeof consts to BufferUtils
: [JogAmp] Jogl : Sven Gothel <sgothel>
: core: Sven Gothel <sgothel>
: VERIFIED FIXED    
: normal    
: P3    
: 1   
: All   
: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:48:04 CET


---- Reported by kitfox 2005-10-19 08:25:36 ----

BufferUtils is currently missing some important SIZEOF constants.  I would like
to recommend adding

BufferUtils.SIZEOF_SHORT = 2;
BufferUtils.SIZEOF_BYTE = 1;
BufferUtils.SIZEOF_UNSIGNED_SHORT = 2;
BufferUtils.SIZEOF_UNSIGNED_BYTE = 1;
BufferUtils.SIZEOF_UNSIGNED_INT = 4;



---- Additional Comments From kbr 2005-10-19 09:42:16 ----

This was mostly already fixed in the JSR-231 branch. A SIZEOF_BYTE constant has
been added. The unsigned variants are unnecessary as they are the same size as
the signed versions.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT  ---

This bug was previously known as _bug_ 178 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=178