...
Wiki Markup |
---|
This compliant solution uses methods provided by class {{ByteBuffer}} (see \[[API 2006|AA. Bibliography#APIReferences#API 06]\] [{{ByteBuffer}}|http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html]) to correctly extract an {{int}} from the original input value. It wraps the input byte array with a {{ByteBuffer}}, sets the byte order to little-endian, and extracts the {{int}}. The result is stored in the integer {{serialNumber}}. Class {{ByteBuffer}} provides analogous get and put methods for other numeric types. |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f4256a813f449ca7-74e8f8a2-452b41fd-b902bab3-6da224bf38afe38bb9dc8d75"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API References#API 06]] | [Class | http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html]: Methods | http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html]: method | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c8e8e85784f2fe1c-e29f1c29-42dc463b-ad5dbcb2-591d485f26bfb881e5c1bd4d"><ac:plain-text-body><![CDATA[ | [[Cohen 1981 | AA. Bibliography#Cohen References#Cohen 81]] | On Holy Wars and a Plea for Peace | ]]></ac:plain-text-body></ac:structured-macro> | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2818bbcefc3831ff-68e005c9-4dbe4017-85e0a78c-9eef9d5884895117b7b1571a"><ac:plain-text-body><![CDATA[ | [[Harold 1997 | AA. Bibliography#Harold References#Harold 97]] | Chapter 2, Primitive Data Types, Cross-Platform Issues | ]]></ac:plain-text-body></ac:structured-macro> |
...