Bug 178 - Need to add extra sizeof consts to BufferUtils
Summary: Need to add extra sizeof consts to BufferUtils
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-10-19 08:25 CEST by Sven Gothel
Modified: 2010-03-24 07:48 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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