commit | 030bd62e38ba41b8f464f009382955c51bd72f04 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Sun Sep 18 21:36:24 2011 -0400 |
committer | Brian Carlstrom <bdc@google.com> | Tue Apr 30 14:02:10 2013 -0700 |
tree | eb06f427705812712078d2dab45274a5baaca2d9 | |
parent | c69e85bfb7ddd6c4b0023ca29eeb0416087f9a8b [diff] |
Switch Dex from byte[] to ByteBuffer for backing store. The ByteBuffer allows Dex to share the mapped data with Class.getDex(). This also changes Dex.Section to use a ByteBuffer; that ByteBuffer's position and limit are used instead of a separate pair of integers. Change-Id: I2b8042a493f70213c30e5c26e0bacfb03daebf55 (cherry picked from commit 59653899ed7cbca17f5a3dd32a23e81b3c4a5339)