Package org.objectweb.asm.test
Class ClassFile.Parser
- java.lang.Object
-
- org.objectweb.asm.test.ClassFile.Parser
-
- Enclosing class:
- ClassFile
private static class ClassFile.Parser extends java.lang.Object
A simple byte array parser. The method names reflect the type names used in the Java Virtual Machine Specification for ease of reference.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.DataInputStream
dataInputStream
-
Constructor Summary
Constructors Constructor Description Parser(byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]
bytes(int length)
(package private) int
s1()
(package private) int
s2()
(package private) long
s8()
(package private) int
u1()
(package private) int
u2()
(package private) int
u4()
(package private) java.lang.String
utf8()
-
-
-
Method Detail
-
u1
int u1() throws java.io.IOException
- Throws:
java.io.IOException
-
s1
int s1() throws java.io.IOException
- Throws:
java.io.IOException
-
u2
int u2() throws java.io.IOException
- Throws:
java.io.IOException
-
s2
int s2() throws java.io.IOException
- Throws:
java.io.IOException
-
u4
int u4() throws java.io.IOException
- Throws:
java.io.IOException
-
s8
long s8() throws java.io.IOException
- Throws:
java.io.IOException
-
utf8
java.lang.String utf8() throws java.io.IOException
- Throws:
java.io.IOException
-
bytes
byte[] bytes(int length) throws java.io.IOException
- Throws:
java.io.IOException
-
-