use byte to handle the buffer things
update byte
v1 encoder simple type done