do byteLength clientside too