fix #19: add offset argument to byte2short method