add extract int/short from buf (ex/ex03)