public class ScriptChunk extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
data |
Constructor and Description |
---|
ScriptChunk(boolean isOpCode,
byte[] data) |
ScriptChunk(boolean isOpCode,
byte[] data,
int startLocationInProgram) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
equalsOpCode(int opCode) |
int |
getStartLocationInProgram() |
int |
hashCode() |
boolean |
isOpCode()
If this chunk is a single byte of non-pushdata content (could be OP_RESERVED or some invalid Opcode)
|
void |
write(OutputStream stream) |
public ScriptChunk(boolean isOpCode, byte[] data)
public ScriptChunk(boolean isOpCode, byte[] data, int startLocationInProgram)
public boolean equalsOpCode(int opCode)
public boolean isOpCode()
public int getStartLocationInProgram()
public void write(OutputStream stream) throws IOException
IOException
Copyright © 2014. All rights reserved.