@firebase/firestore
Version:
The Cloud Firestore component of the Firebase JS SDK.
9 lines (8 loc) • 338 B
TypeScript
/**
* Create a `ReadableStream` from a string.
*
* @param content - Bundle in string.
* @param bytesPerRead - How many bytes to read from the underlying buffer from
* each read through the stream.
*/
export declare function byteStreamReaderFromString(content: string, bytesPerRead: number): ReadableStreamDefaultReader<Uint8Array>;