...
| 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="a2a6f74e04268f1f-e610c87c-4cee4b3e-8431b96a-7fa338c887dd172e8c5cc351"><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="adcc217725e7a192-a6403fa4-455148a5-a2e3b67f-aae1eda5e58cab5f23db77cc"><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="7757fc5c6e8f77ee-0092173f-4bde430c-bd37adc1-1af925adceb3a3bfb91f1e64"><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> |
...