@ionic/utils-stream

  • Version 3.1.5
  • Published
  • 11.6 kB
  • 2 dependencies
  • MIT license

Install

npm i @ionic/utils-stream
yarn add @ionic/utils-stream
pnpm add @ionic/utils-stream

Overview

Stream utils for NodeJS

Index

Functions

function growBufferForAppendedData

growBufferForAppendedData: (
buf: any,
actualsize: number,
appendsize: number
) => any;

    Classes

    class NullStream

    class NullStream extends Writable {}

      class ReadableStreamBuffer

      class ReadableStreamBuffer extends Readable {}

        constructor

        constructor(opts?: ReadableStreamBufferOptions);

          property buffer

          protected buffer: any;

            property chunkSize

            protected chunkSize: number;

              property growSize

              protected growSize: number;

                property size

                readonly size: number;

                  property stopped

                  readonly stopped: boolean;

                    method feed

                    feed: (data: Buffer | string, encoding?: string) => void;

                      method stop

                      stop: () => void;

                        class WritableStreamBuffer

                        class WritableStreamBuffer extends Writable {}

                          constructor

                          constructor(opts?: WritableStreamBufferOptions);

                            property buffer

                            protected buffer: any;

                              property growSize

                              protected growSize: number;

                                property size

                                readonly size: number;

                                  method consume

                                  consume: (bytes?: number) => any;

                                    Interfaces

                                    interface ReadableStreamBufferOptions

                                    interface ReadableStreamBufferOptions extends ReadableOptions {}

                                      property allocSize

                                      allocSize?: number;

                                        property chunkSize

                                        chunkSize?: number;

                                          property growSize

                                          growSize?: number;

                                            interface WritableStreamBufferOptions

                                            interface WritableStreamBufferOptions extends WritableOptions {}

                                              property allocSize

                                              allocSize?: number;

                                                property growSize

                                                growSize?: number;

                                                  Package Files (1)

                                                  Dependencies (2)

                                                  Dev Dependencies (10)

                                                  Peer Dependencies (0)

                                                  No peer dependencies.

                                                  Badge

                                                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ionic/utils-stream.

                                                  • Markdown
                                                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@ionic/utils-stream)
                                                  • HTML
                                                    <a href="https://www.jsdocs.io/package/@ionic/utils-stream"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>