add byte reader writer