JFlex
public class HiLowEmitter extends PackEmitter
Constructor Summary | |
---|---|
HiLowEmitter(String name)
Create new emitter for values in [0, 0xFFFFFFFF] using hi/low encoding.
|
Method Summary | |
---|---|
void | emit(int val)
Emit one value using two characters.
|
void | emitUnpack()
Emits hi/low pair unpacking code for the generated array.
|
Parameters: name the name of the generated array
Parameters: val the value to emit
UNKNOWN: 0 <= val <= 0xFFFFFFFF
See Also: PackEmitter