@Internal public final class SprmBuffer extends java.lang.Object implements Duplicatable
Constructor and Description |
---|
SprmBuffer(byte[] buf,
boolean istd,
int sprmsStartOffset) |
SprmBuffer(byte[] buf,
int _sprmsStartOffset) |
SprmBuffer(int sprmsStartOffset) |
SprmBuffer(SprmBuffer other) |
Modifier and Type | Method and Description |
---|---|
void |
addSprm(short opcode,
byte operand) |
void |
addSprm(short opcode,
byte[] operand) |
void |
addSprm(short opcode,
int operand) |
void |
addSprm(short opcode,
short operand) |
void |
append(byte[] grpprl) |
void |
append(byte[] grpprl,
int offset) |
SprmBuffer |
copy() |
boolean |
equals(java.lang.Object obj) |
SprmOperation |
findSprm(short opcode) |
int |
hashCode() |
SprmIterator |
iterator() |
byte[] |
toByteArray() |
java.lang.String |
toString() |
void |
updateSprm(short opcode,
boolean operand) |
void |
updateSprm(short opcode,
byte operand) |
void |
updateSprm(short opcode,
int operand) |
void |
updateSprm(short opcode,
short operand) |
public SprmBuffer(SprmBuffer other)
public SprmBuffer(byte[] buf, boolean istd, int sprmsStartOffset)
public SprmBuffer(byte[] buf, int _sprmsStartOffset)
public SprmBuffer(int sprmsStartOffset)
public void addSprm(short opcode, byte operand)
public void addSprm(short opcode, byte[] operand)
public void addSprm(short opcode, int operand)
public void addSprm(short opcode, short operand)
public void append(byte[] grpprl)
public void append(byte[] grpprl, int offset)
public SprmBuffer copy()
copy
in interface Duplicatable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SprmOperation findSprm(short opcode)
public byte[] toByteArray()
public SprmIterator iterator()
public void updateSprm(short opcode, byte operand)
public void updateSprm(short opcode, boolean operand)
public void updateSprm(short opcode, int operand)
public void updateSprm(short opcode, short operand)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.