public class HiLowEmitter extends PackEmitter
chunks, name, out
Constructor and Description |
---|
HiLowEmitter(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(String name)
name
- the name of the generated arraypublic void emitUnpack()
emitUnpack
in class PackEmitter
PackEmitter.emitUnpack()
public void emit(int val)
val
- the value to emitCopyright © 1998–2016. All rights reserved.