@azure/storage-file-share 12.27.0-alpha.20250310.1 → 12.27.0-alpha.20250313.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1467,7 +1467,7 @@ export class ShareFileClient extends StorageClient {
1467
1467
  * return new Promise((resolve, reject) => {
1468
1468
  * const chunks = [];
1469
1469
  * readableStream.on("data", (data) => {
1470
- * chunks.push(data instanceof Buffer ? data : Buffer.from(data));
1470
+ * chunks.push(typeof data === "string" ? Buffer.from(data) : data);
1471
1471
  * });
1472
1472
  * readableStream.on("end", () => {
1473
1473
  * resolve(Buffer.concat(chunks));