commit | 19cefdcde26ea31d06cef031032b2ef78013d976 | [log] [tgz] |
---|---|---|
author | Dan Bornstein <danfuzz@android.com> | Mon Jan 31 16:55:36 2011 -0800 |
committer | Dan Bornstein <danfuzz@android.com> | Mon Jan 31 17:12:11 2011 -0800 |
tree | 6e3040ca475a70d1c44391b209120d6b65d8a817 | |
parent | 014fe714515dba970a77a8117d819d957a3a0919 [diff] |
Add ShortArrayCodeInput. This is analogous to ByteArrayInputStream, and is hopefully useful as-is to be the impedence matcher between CodeReader and InstructionCodec. I also modified CodeInput's methods to throw EOFException, implementing ShortArrayCodeInput to throw it in the expected cases. Change-Id: Id46366590ed5a2607bc6672d040f9d11fa8a445d Bonus: Fixed a comment in BytecodeArray that I happened to notice.