Write data in bulk instead of byte-by-byte