2589e301d1fb85960045c9ef29682d7e73b1aee7 |
|
05-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Make effectiveDirectAddress final. Also add a unit test to make sure elementSizeShift is set correctly. Change-Id: Ia6c797001a768fa1c3136d475f2ac0e047b35fb0
|
ac96decfea84ebdccb308492acb01454c8823c2c |
|
05-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Don't force MemoryBlocks on classes that don't care. Only MappedByteBuffer and DirectByteBuffer need to know about this abstraction. Change-Id: I293284c8b8a73ac01463337dc8a1e22d16cd378d
|
fe5da19e0e366286cd4d95f7628fe9442b9062c8 |
|
27-Mar-2013 |
Elliott Hughes <enh@google.com> |
Simplify the nio Buffer implementations, and fix MappedByteBuffer. * Fix the reported bug caused by delegation in the MappedByteBuffer implementation. * Collapse the three classes (ReadOnly*, ReadWrite*, and *) used to implement most buffer types into one class each. * Rename HeapByteBuffer to ByteArrayBuffer to match its companions. * Remove BaseByteBuffer. * Give the classes used to implement asXBuffer sane names (their existing names were backwards). Bug: https://code.google.com/p/android/issues/detail?id=53637 Change-Id: I2a7ff4f1d502564389615384324afadabccb04f9
|