public class HiLowEmitter extends PackEmitter
chunks, name, out
Constructor and Description |
---|
HiLowEmitter(java.lang.String name)
Create new emitter for values in [0, 0xFFFFFFFF] using hi/low encoding.
|
Modifier and Type | Method and Description |
---|---|
void |
emit(int val)
Emit one value using two characters.
|
void |
emitUnpack()
Emits hi/low pair unpacking code for the generated array.
|
public HiLowEmitter(java.lang.String name)
name
- the name of the generated arraypublic void emitUnpack()
emitUnpack
in class PackEmitter
JFlex.PackEmitter#emitUnPack()
public void emit(int val)
val
- the value to emit