new data handler with variable size byte writer