Only include data from the valid range of a BytesWritable

Change-Id: If12bdfeeed483fb692625e12acda046e0217e1b7