Paolo Cancedda
8c33a9f4d0
ABC class:
...
- removed sequential search from findBody() and findBodyIndex()
- using local variables in ABC(InputStream is) constructor to improve performances and readability
ABCInputStream class:
- added method int read(byte[] b)
MethodInfo class:
- introduced reference to method body
2012-01-03 16:00:47 +01:00
Paolo Cancedda
c1f1ad6dcd
Since List<AVM2Instruction> code is frequently accessed by position, it's better to use an ArrayList instead of a LinkedList. Introduced method compact() to reduce memory usage.
2012-01-03 15:06:47 +01:00
Paolo Cancedda
ea14fb2d3d
Using a BufferedInputStream greatly reduces loading file of uncompressed swf files.
2012-01-03 14:19:28 +01:00
Paolo Cancedda
383d953e7a
Added DUMP_TAGS flag to enable tag dump on stdout.
2011-12-29 17:45:27 +01:00
Paolo Cancedda
f904b36227
Removed try/catch blocks from tests: exceptions are well managed by JUnit
2011-12-29 16:50:26 +01:00
Paolo Cancedda
8cf2a250cd
Created stubs for several tags.
2011-07-30 19:56:42 +02:00
Paolo Cancedda
27f013b6bc
Throw IOException as the other tags do.
2011-07-30 19:54:21 +02:00
Paolo Cancedda
8e8736aed7
Defined constants to remove magic numbers from source code.
2011-07-30 19:50:41 +02:00
Paolo Cancedda
4b1e2571d4
Fixed build warning.
2011-07-30 19:37:36 +02:00