diff --git a/assets/navigation.js b/assets/navigation.js index 7510e39..9b9d747 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XVUU+DMBAH8O/SZ6IZTrLwptElJuoSp/Fh2UNDb1szOEg53Baz726AbVBgbX2FP79e70K7+GUEe2IhkyhgzzyWcdqwkCWpKGLIb6vHNxtKYuaxrUTBQt9j0UbGQgGycHEBnlFIjgh53iiARXI2mvc6Nzl6F+OJE/8ALkA1RhTzPL9U0iR0ZeR3nW8lyezUCZPzJZEmD0rxw1zi9pqlpxy9tFAROIhVzrbXuiOzjGSKrfZLJFArHg1075TtTPY+GIS7xRrcoXr7bN15t3q1rBusD8ug9uelk+WeqjHYS+1GbeyrRHBTW0kb+lbEJB8PBP8oevAb20JzUhLXbgtoWRO8BnrnJH9g6ChZFRhVwkkeCOt2MG7RCrgoxz5VaTInBTy5LvezBjjf8WwUXMfq9xbgzjcDd74FCMZmIBgbgF35K5Qb/kxtrelFe+yyBWMqoH+jlE+dLpSpjOEFs4K6VZ3PykrqpEwnZRmdFeQitmN9cnlc/gHVTkF7OQcAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA43V32vCMBAH8P8lz2XDzhXp28YmDLYJc2MP4kNoTw2215Je52T4v4+0apv+SPLafu/j5Q7T1R8j+CUWsiiTwDyWc9qxkKVZXCZQ3KqnNztKE+axvcCYhb7Hop1IYgnIwtW1/BljwRGhKBoEsEzPRPNa12Yn70o8ceIfwGOQDRElvCgufTQBHZn4XeZbCjIydcDEfAmk2YOU/LgUuB+h9JAjl5UyAjtYxWwHrcexyElk2Jq8QAK54VF/cudoZ6f3waDbbXWcHeq2r9ZTd+pWi7q5+p7G0f6qdFGdqFqBtdFu0qa+CgQntBW0mW9lQuLxSODe8mCJ7XeWJAVunXwtanK3QO+cxA8M3R6bEqNKqOGBrE4H05Ysgcdq43OZpUuSwNNRuB81uMWB55Ng1KpfW+rvfGP9nW+pD6bG+mBqqD+of4A67WdmGUsv2VPXLRezeODroZ46fT3mIoEXzEvqNnW5HCupkzLdjSq6KMlFbMf65Pq0/gd0tFlJJAcAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index d7fd85f..cba2649 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7WcX4/bRg7Av4v21d1a80+jfWuu7WGBXANccncPxqJQbO1GiFde2HLS3CLfvaAkW6TEkWZs5Sntmhxy+ONwZijZr9F+9/UQ3a1eo89FuYnuxCIqs+c8uouKcpP/FS2i434b3UXPu81xmx9+rv96+6l63kaLaL3NDof8EN1F0ffFcIRyt8kHA8AfR/WNOg+wz7PNr1mV/b7fPb+v9nn2fB7u8Viuq2JXnjwaijJGFtFLts/L6jw75LU2Z7Mwzr/zbJPv373UNs5Wi7LK94/Z+hyIgWiY1Xgputnm5abIyjI/BNu7Iaojpof6bmfWu01RPl3gylnxUkcwC5B5X+2L8mmSxUD0KhZT0+et+U5/OC2HI0VZVEW2/Uf2kq2L6luwP0P9Wdx6zv56863Kg2ncIMVLHemnx9uizL2SAwlekRpFud4eN/lv796GWbshilOTx5O6KkcHbrAZWh02PxWHn4ryU74vqnxzsVNB+cqEyJ2ts7nol7sD39jMvcapfh7/st9n37wSGUtekcm7x8dDXgWaujlrTaUwmY/DhUPx/zzUgVbnQvP9qP/ruK0KAOsfflblB2/843b9DwDuKV+RJCOOMdnit2aCnJxOoxEXB/k0k4PCMifKs5etucFhKiyPdNwdt9e78lDtj+tq52nlhmr4HdfwUlqqbopPefXbMI/H7fd1ZvCgtyV62A88ro5Yr7cHkPI3j1Wut19UoeY7jeusHz4XLzCYp2kkPoNdspl7GPY4f05b3u52n3/55B9tLH+dZbjqvikqT7ud9CxWfQONxK+3+5+irGyA4ZP89Zbvwwzfz2UXZhCbwCnXCrPMOcj0/WyWYRJSBM66Vphl1kGm72ez/KZ4gnk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rn+IilE2xu21QTiVPxcvgxqM6pFwrYtasX9KELj2urL59AY6Os+g+FhXOpxeLUdqKDzW6Wf7zjhSw2cvl5Md/v5l0aLcTV0ZhNQHN2WbYKquytm+LozcRlhte8pPXblfa3NnEoMIJa6aT7QHayBBAbCj7rOnEoOyK3HFj6oPXDBoD7Cu1G7HICtRo/VrXOWyVoTzRbUbni4UoqdHAzgouBpVrcRVBTrV4axRvieufD/p06ViELNklBlfcA1y3U65TgquxvvTlNPDgmsQsGQU2HBvTVCm2dFMG26OGmE2riKBdIeOo5qWuGraeQBKS6P0TkbT27E/GuR9Muk95YX8NpN+M8BQmUrY8vSwiF6Kl7w+Ft6tHr5//xsm/UN1LGAAAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7WcX4/bOA7Av4vnNTsb65/ledvedg8D9LbAtXf3EAwKN/FMjSbOIHHa7Q3muy9oOzFpU7aUpE/dnZAixR9FSbSTl2i3/b6P7hYv0deiXEV3YhaV2SaP7qLldpdHs+iwW0d30Wa7Oqzz/a/wx9sv1WYdzaLlOtvv8310F0Wvs6F+uV0N9eGPo/pGnQbY5dnq96zK/thtNx+qXZ5tTsM9HsplVWzL1qGhJGNjFj1nu7ysjlNDPmtzMgrD/DvPVvnu/XNt4WSzKKt895gtj1EYSAbZjOeim2leroqsLPN9qLUbouk2PFR3u7LcroryKdyRk96ZbmAKIPOh2hXl0xSFgeQlFCamztvynPpwSg43irKoimz9j+w5WxbVj1BvhurXcGqT/fXmR5WHcrhBeme60U+Ld0WZ+yQFkjs/JYpyuT6s8rfv3wXZuiF6ExPHE7okMwdOsHlZ7Ve/FPtfivJLviuqfHWuSyFZyoTHnaPXctArYweesfl6gUv97P1tt8t++KQvFjw/f7ePj/u8CjN0c1KaSFwyF4cD++L/eaD5VuU84/14/+uwrgog6h14VuOnbu3jVr23ePd0z0+OEbeYLPFaJ0EuTqbPiIODPLqOe8IyZ8WTj621/lEpKH90jA/h5b7aHZbV1s/GDVX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GudYcGkZ+qwm/LZkw8lhOeGyHZhEpNRbodf0tXZRTKDf0WG6AIrMmyVl8RH0DP1AFhcy5uJEj8Vjcy8N6XZ2+7bxv319GM0ILXY+5xKiibFVja7RRZWaBat0Y/MMw31FNl2O17eBIeGRZuTavo34v41FZkWNl5eBIeeS6mnKd5jxyWk45zSQ9Pm27c7e3mVmNU9adIM3bckjPYD2Xuf6BKEbZGLdXAOFU/lo8D2owqkfCtS5qxf4pQeDa68rm48vl6DyD4mNd6XB8bxypofBYp5/tK+FIDZ+9XE52+PsXP4tyN3VlEFIf3Hptgqm6Kmf7ajByG2G17Yk9deV+rc2dSQwilLhqPtEerIEEBcCOus+eSgzKrsQVP6o+cMGgPcC6Ursdg6xEjdavcZXLWhHOF9V2eLpQiJ4eDeCg4GpUtRJXFehUh7NG+Z648v2oT5eKQcySUWZ8wTXIdTvlOim4Gu9PU04PC65BwJJRYMO9NUGZZkczbbg5aoTZuIoE0h06jmpa4qpppwEoLY3SOxlNb8f+aJD3yaT3lBfy20z6zQBDZSphy9PDLHounvP6WHi3eHh9/RtZdChPW18AAA=="; \ No newline at end of file diff --git a/classes/index.DataReader.html b/classes/core.DataReader.html similarity index 76% rename from classes/index.DataReader.html rename to classes/core.DataReader.html index f3fb52c..7d6cbc5 100644 --- a/classes/index.DataReader.html +++ b/classes/core.DataReader.html @@ -1,127 +1,127 @@ -DataReader | @kayahr/datastream

Reads all kind of data values from the specified source.

-

Constructors

Methods

  • Returns number

    the number of bits that have been read so far.

    -
  • Returns number

    the number of bytes that have been read so far.

    -
  • Returns the default encoding of the reader.

    +DataReader | @kayahr/datastream

    Reads all kind of data values from the specified source.

    +

    Constructors

    Methods

    • Returns number

      the number of bits that have been read so far.

      +
    • Returns number

      the number of bytes that have been read so far.

      +
    • Returns the default encoding of the reader.

      Returns string

      the default encoding used when no encoding is specified as parameter to the various string read methods.

      -
    • Returns the default endianness of the reader.

      -

      Returns Endianness

      the default endianness used when no endianness is specified as parameter to the various read methods.

      -
    • Executes the given operation as a look-ahead operation. So any reading from the reader is a look-ahead and the +

    • Returns the default endianness of the reader.

      +

      Returns Endianness

      the default endianness used when no endianness is specified as parameter to the various read methods.

      +
    • Executes the given operation as a look-ahead operation. So any reading from the reader is a look-ahead and the stream position will be reset when operation is finished. Look-ahead operations can be nested.

      Note that while reading data in a look-ahead operation buffers read from the stream pile up in memory because it is not possible to seek in a stream. So the only way to rewind to the previous position in the stream is to remember all the buffers read since then. So keep look-ahead operations short so in the best case the operation takes place in the same or the next buffer.

      -

      Type Parameters

      • T

      Parameters

      • operation: ((commit) => Promise<T>)

        The look-ahead operation to perform.

        -
          • (commit): Promise<T>
          • Parameters

            • commit: ((values?, bitsPerValue?) => void)
                • (values?, bitsPerValue?): void
                • Parameters

                  • Optional values: number
                  • Optional bitsPerValue: number

                  Returns void

            Returns Promise<T>

      Returns Promise<T>

    • Reads a signed 64 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | bigint>

    • Reads an array of signed 64 bit values.

      +

      Type Parameters

      • T

      Parameters

      • operation: ((commit) => Promise<T>)

        The look-ahead operation to perform.

        +
          • (commit): Promise<T>
          • Parameters

            • commit: ((values?, bitsPerValue?) => void)
                • (values?, bitsPerValue?): void
                • Parameters

                  • Optional values: number
                  • Optional bitsPerValue: number

                  Returns void

            Returns Promise<T>

      Returns Promise<T>

    • Reads a signed 64 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | bigint>

    • Reads an array of signed 64 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads a unsigned 64 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | bigint>

    • Reads an array of unsigned 64 bit values.

      +
    • Reads a unsigned 64 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | bigint>

    • Reads an array of unsigned 64 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads and returns a single bit from the stream.

      +
    • Reads and returns a single bit from the stream.

      Returns Promise<null | number>

      the read bit. Null if end of stream has been reached.

      -
    • Reads the given number of bits and returns them as a number array.

      +
    • Reads the given number of bits and returns them as a number array.

      TODO This can be optimized by reading the bits directly from the buffer instead of asynchronously reading bit by bit.

      Parameters

      • numBits: number

        The number of bits to read.

      Returns Promise<number[]>

      The read bits. Empty array when end of stream has been reached without reading any bit.

      -
    • Reads a signed 16 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | number>

    • Reads an array of signed 16 bit values.

      +
    • Reads a signed 16 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | number>

    • Reads an array of signed 16 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads a signed 32 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | number>

    • Reads an array of signed 32 bit values.

      +
    • Reads a signed 32 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | number>

    • Reads an array of signed 32 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads and returns an signed 8 bit value.

      +
    • Reads and returns an signed 8 bit value.

      Returns Promise<null | number>

      the read value. Null if end of stream has been reached.

      -
    • Reads an array of signed 8 bit values.

      +
    • Reads an array of signed 8 bit values.

      Parameters

      • buffer: Int8Array

        The buffer to write the read bytes to.

      • offset: number = 0

        Offset within the buffer to start writing to. Defaults to 0.

      • size: number = ...

        Number of bytes to read. Defaults to buffer size minus offset.

      Returns Promise<number>

      the number of read bytes. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads a line from the stream. EOL marker can be defined in the options and by default stops at CRLF or LF +

    • Reads a line from the stream. EOL marker can be defined in the options and by default stops at CRLF or LF without including the EOL marker in the returned string.

      -

      Parameters

      Returns Promise<null | string>

      the read line. Null when end of stream is reached.

      -
    • Reads a null-terminated string from the stream.

      -

      Parameters

      Returns Promise<null | string>

      the read line. Null when end of stream is reached.

      -
    • Reads a string from the stream.

      +

      Parameters

      Returns Promise<null | string>

      the read line. Null when end of stream is reached.

      +
    • Reads a null-terminated string from the stream.

      +

      Parameters

      Returns Promise<null | string>

      the read line. Null when end of stream is reached.

      +
    • Reads a string from the stream.

      Parameters

      • size: number

        The maximum number of bytes to read. Only in ASCII encoding this is the same as the length of the string. In other encodings the returned string may be shorter.

      • encoding: string = ...

        The encoding. Defaults to encoding the reader was configured with.

      Returns Promise<string>

      the read string. May be smaller than requested size. Empty when end of stream is reached.

      -
    • Reads an unsigned 16 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | number>

    • Reads an array of unsigned 16 bit values.

      +
    • Reads an unsigned 16 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | number>

    • Reads an array of unsigned 16 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads an unsigned 32 bit value.

      -

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        -

      Returns Promise<null | number>

    • Reads an array of unsigned 32 bit values.

      +
    • Reads an unsigned 32 bit value.

      +

      Parameters

      • endianness: Endianness = ...

        Optional endianness. Defaults to endianness the reader was configured with.

        +

      Returns Promise<null | number>

    • Reads an array of unsigned 32 bit values.

      Parameters

      Returns Promise<number>

      the number of read 16 bit values. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Reads and returns an unsigned 8 bit value.

      +
    • Reads and returns an unsigned 8 bit value.

      Returns Promise<null | number>

      the read value. Null if end of stream has been reached.

      -
    • Reads an array of unsigned 8 bit values.

      +
    • Reads an array of unsigned 8 bit values.

      Parameters

      • buffer: Uint8Array | Uint8ClampedArray

        The buffer to write the read bytes to.

      • offset: number = 0

        Offset within the buffer to start writing to. Defaults to 0.

      • size: number = ...

        Number of bytes to read. Defaults to buffer size minus offset.

      Returns Promise<number>

      the number of read bytes. 0 when end of stream is reached or 0 bytes were requested to read.

      -
    • Skips the given number of bits. This is not the same as simply reading the given number of bits and ignoring +

    • Skips the given number of bits. This is not the same as simply reading the given number of bits and ignoring the read data. Instead it is optimized to first skip as many bits as needed to get to a byte boundary then skipping full bytes inside current buffer, optionally fetching new buffers and finally skipping the remaining number of bits.

      Parameters

      • bits: number

        The number of bits to skip.

      Returns Promise<number>

      The actual number of skipped bits. Will be lower than given number if end of stream has been reached.

      -
    • Skips the given number of bytes. This is not the same as simply reading the given number of bytes and ignoring +

    • Skips the given number of bytes. This is not the same as simply reading the given number of bytes and ignoring the read data. Instead it is optimized to first skip as many bits as needed to get to a byte boundary then skipping full bytes inside the current buffer, optionally fetching new buffers and finally skipping the remaining bits.

      -

      Actually this is the same as calling skipBits with the number of bytes converted to the number of bits.

      +

      Actually this is the same as calling skipBits with the number of bytes converted to the number of bits.

      Parameters

      • bytes: number

        The number of bytes to skip.

      Returns Promise<number>

      The actual number of fully skipped bytes (not counting partially skipped bytes). Will be lower than - given number if end of stream has been reached.

      -

    Generated using TypeDoc

    \ No newline at end of file + given number if end of stream has been reached.

    +

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/index.DataWriter.html b/classes/core.DataWriter.html similarity index 83% rename from classes/index.DataWriter.html rename to classes/core.DataWriter.html index c9eb91a..8078149 100644 --- a/classes/index.DataWriter.html +++ b/classes/core.DataWriter.html @@ -1,42 +1,42 @@ -DataWriter | @kayahr/datastream

Writes all kind of data values to a specified sink.

+DataWriter | @kayahr/datastream

Writes all kind of data values to a specified sink.

Written data is buffered so you have to call the flush method when you are done writing all data to ensure that all data is written to the sink.

All methods of the writer are asynchronous but can safely be used synchronously when you have no reason to wait for it. Usually you only want to wait for the flush method at the end of a write operation.

-

Constructors

Methods

  • Writes all buffered data to the sink. If an incomplete byte is buffered then it is padded with zeroes so the +

Constructors

Methods

  • Writes all buffered data to the sink. If an incomplete byte is buffered then it is padded with zeroes so the writer points to the beginning of a new byte after flushing.

    Returns Promise<void>

  • Returns number

    The buffer size of the writer.

  • Returns the default encoding of the writer.

    Returns string

    the default encoding used when no encoding is specified as parameter to the various string write methods.

    -
  • Returns the default endianness of the writer.

    -

    Returns Endianness

    the default endianness used when no endianness is specified as parameter to the various write methods.

    +
  • Returns the default endianness of the writer.

    +

    Returns Endianness

    the default endianness used when no endianness is specified as parameter to the various write methods.

  • Returns the number of written bytes. This value reflects the number of bytes the writer was told to write so far, not the actual number of written bytes (which may not be finished because writing happens asynchronously). When a write operation fails then this counter is invalid and may not be in sync with the output sink any @@ -44,30 +44,30 @@

    Returns number

    the number of written bytes.

  • Writes an signed 64 bit value.

    Parameters

    • value: bigint

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of signed 64 bit values.

    Parameters

    • values: BigInt64Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an unsigned 64 bit value.

    Parameters

    • value: bigint

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of unsigned 64 bit values.

    Parameters

    • values: BigUint64Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes a single bit.

    Parameters

    • value: number

      The bit to write.

    Returns void

  • Writes a signed 16 bit value.

    Parameters

    • value: number

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of signed 16 bit values.

    Parameters

    • values: Int16Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes a signed 32 bit value.

    Parameters

    • value: number

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of signed 32 bit values.

    Parameters

    • values: Int32Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes a signed 8 bit value.

    Parameters

    • value: number

      The value to write.

    Returns void

  • Writes an array of signed 8 bit values.

    @@ -77,16 +77,16 @@
  • encoding: string = ...

    The encoding. Defaults to encoding the writer was configured with.

Returns void

  • Writes an unsigned 16 bit value.

    Parameters

    • value: number

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of unsigned 16 bit values.

    Parameters

    • values: Uint16Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an unsigned 32 bit value.

    Parameters

    • value: number

      The value to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an array of unsigned 32 bit values.

    Parameters

    • values: Uint32Array

      The values to write.

      -
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

      +
    • endianness: Endianness = ...

      Optional endianness. Defaults to endianness the writer was configured with.

    Returns void

  • Writes an unsigned 8 bit value.

    Parameters

    • value: number

      The value to write.

    Returns void

  • Writes an array of unsigned 8 bit values.

    diff --git a/classes/core.Uint8ArraySink.html b/classes/core.Uint8ArraySink.html new file mode 100644 index 0000000..e3ac367 --- /dev/null +++ b/classes/core.Uint8ArraySink.html @@ -0,0 +1,25 @@ +Uint8ArraySink | @kayahr/datastream

    Sink which writes into a growing Uint8Array.

    +

    Implements

    Constructors

    Methods

    • Returns the byte at the given index.

      +

      Parameters

      • index: number

        The index. Negative indices references bytes from the end.

        +

      Returns undefined | number

      The found byte or undefined if out of bounds.

      +
    • Returns number

      the current capacity. When size reaches this capacity then the internal buffer must grow.

      +
    • Resets the sink so it can be used for another operation. This keeps the current capacity and reuses the same +buffer so make sure you finished processing the previous data.

      +

      Returns void

    • Rewinds the sink by the given number of bytes. The size shrinks accordingly but the capacity stays the same as +before.

      +

      Parameters

      • numBytes: number

        The number of bytes to remove from the end of the sink.

        +

      Returns void

    • Writes the given chunk to the sink.

      +

      Parameters

      • chunk: number | Uint8Array

        Chunk of data to write to the sink.

        +

      Returns void

      a promise if write operation is asynchronous, nothing when write operation is synchronous.

      +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/core.Uint8ArraySource.html b/classes/core.Uint8ArraySource.html new file mode 100644 index 0000000..1a1994f --- /dev/null +++ b/classes/core.Uint8ArraySource.html @@ -0,0 +1,7 @@ +Uint8ArraySource | @kayahr/datastream

    Source which reads from a Uint8Array.

    +

    Implements

    Constructors

    Methods

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/index.Uint8ArraySink.html b/classes/index.Uint8ArraySink.html deleted file mode 100644 index f4424b0..0000000 --- a/classes/index.Uint8ArraySink.html +++ /dev/null @@ -1,25 +0,0 @@ -Uint8ArraySink | @kayahr/datastream

    Sink which writes into a growing Uint8Array.

    -

    Implements

    Constructors

    Methods

    • Returns the byte at the given index.

      -

      Parameters

      • index: number

        The index. Negative indices references bytes from the end.

        -

      Returns undefined | number

      The found byte or undefined if out of bounds.

      -
    • Returns number

      the current capacity. When size reaches this capacity then the internal buffer must grow.

      -
    • Resets the sink so it can be used for another operation. This keeps the current capacity and reuses the same -buffer so make sure you finished processing the previous data.

      -

      Returns void

    • Rewinds the sink by the given number of bytes. The size shrinks accordingly but the capacity stays the same as -before.

      -

      Parameters

      • numBytes: number

        The number of bytes to remove from the end of the sink.

        -

      Returns void

    • Writes the given chunk to the sink.

      -

      Parameters

      • chunk: number | Uint8Array

        Chunk of data to write to the sink.

        -

      Returns void

      a promise if write operation is asynchronous, nothing when write operation is synchronous.

      -

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/index.Uint8ArraySource.html b/classes/index.Uint8ArraySource.html deleted file mode 100644 index ac33cf2..0000000 --- a/classes/index.Uint8ArraySource.html +++ /dev/null @@ -1,7 +0,0 @@ -Uint8ArraySource | @kayahr/datastream

    Source which reads from a Uint8Array.

    -

    Implements

    Constructors

    Methods

    Constructors

    Methods

    • Reads a chunk from the source.

      -

      Returns ReadableStreamReadResult<Uint8Array>

      the read result.

      -

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/node.FileInputStream.html b/classes/node.FileInputStream.html index 12b1f75..638b696 100644 --- a/classes/node.FileInputStream.html +++ b/classes/node.FileInputStream.html @@ -1,9 +1,9 @@ FileInputStream | @kayahr/datastream

    File input stream for Node.js.

    -

    Hierarchy

    • ReadableStream<Uint8Array>
      • FileInputStream

    Implements

    • AsyncDisposable

    Constructors

    Hierarchy

    • ReadableStream<Uint8Array>
      • FileInputStream

    Implements

    • AsyncDisposable

    Constructors

    Methods

    Constructors

    • Creates a new file input stream reading to the given file.

      Parameters

      • filename: string

        The name of the file to read.

      • chunkSize: number = 8192

        The size of the chunks to read from the file.

        -

      Returns FileInputStream

    Methods

    • Returns PromiseLike<void>

      Inherit Doc

    Generated using TypeDoc

    \ No newline at end of file +

Returns FileInputStream

Methods

  • Returns PromiseLike<void>

    Inherit Doc

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/node.FileOutputStream.html b/classes/node.FileOutputStream.html index 32ce0f1..849ebe5 100644 --- a/classes/node.FileOutputStream.html +++ b/classes/node.FileOutputStream.html @@ -1,6 +1,6 @@ FileOutputStream | @kayahr/datastream

File output stream for Node.js.

-

Hierarchy

  • WritableStream<Uint8Array>
    • FileOutputStream

Implements

  • AsyncDisposable

Constructors

Hierarchy

  • WritableStream<Uint8Array>
    • FileOutputStream

Implements

  • AsyncDisposable

Constructors

Methods

Constructors

Methods

  • Returns PromiseLike<void>

    Inherit Doc

Generated using TypeDoc

\ No newline at end of file +

Returns FileOutputStream

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/index.Endianness.html b/enums/core.Endianness.html similarity index 91% rename from enums/index.Endianness.html rename to enums/core.Endianness.html index bee03e1..fd595c6 100644 --- a/enums/index.Endianness.html +++ b/enums/core.Endianness.html @@ -1,6 +1,6 @@ -Endianness | @kayahr/datastream

Enumeration Endianness

Enum for specifying endianness

-

Enumeration Members

BIG -LITTLE +Endianness | @kayahr/datastream

Enumeration Endianness

Enum for specifying endianness

+

Enumeration Members

Enumeration Members

BIG: 1

Big Endian (High byte before low byte)

LITTLE: 0

Little Endian (Low byte before high byte)

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/index.getNativeEndianness.html b/functions/core.getNativeEndianness.html similarity index 79% rename from functions/index.getNativeEndianness.html rename to functions/core.getNativeEndianness.html index cff8132..1227da6 100644 --- a/functions/index.getNativeEndianness.html +++ b/functions/core.getNativeEndianness.html @@ -1,3 +1,3 @@ -getNativeEndianness | @kayahr/datastream

Function getNativeEndianness

  • Returns the native endianness of the system.

    -

    Returns Endianness

    the system's native endianness.

    +getNativeEndianness | @kayahr/datastream

    Function getNativeEndianness

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/index.readDataFromStream.html b/functions/core.readDataFromStream.html similarity index 76% rename from functions/index.readDataFromStream.html rename to functions/core.readDataFromStream.html index 60171cc..ca86eed 100644 --- a/functions/index.readDataFromStream.html +++ b/functions/core.readDataFromStream.html @@ -1,6 +1,6 @@ -readDataFromStream | @kayahr/datastream
    • Creates a data reader for the given stream, passes it to the given callback function and releases the stream reader +readDataFromStream | @kayahr/datastream

      Function readDataFromStream

      • Creates a data reader for the given stream, passes it to the given callback function and releases the stream reader lock after callback execution.

        Parameters

        • stream: ReadableStream<Uint8Array>

          The stream to read from.

        • callback: ((reader) => void | Promise<void>)

          The callback function to call with the created data reader as argument.

          -
            • (reader): void | Promise<void>
            • Parameters

              Returns void | Promise<void>

        • Optional options: DataReaderOptions

          Optional data reader options.

          -

        Returns Promise<void>

      Generated using TypeDoc

      \ No newline at end of file +
        • (reader): void | Promise<void>
        • Parameters

          Returns void | Promise<void>

    • Optional options: DataReaderOptions

      Optional data reader options.

      +

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/index.swap16.html b/functions/core.swap16.html similarity index 85% rename from functions/index.swap16.html rename to functions/core.swap16.html index 1476dd6..9f73c99 100644 --- a/functions/index.swap16.html +++ b/functions/core.swap16.html @@ -1,4 +1,4 @@ -swap16 | @kayahr/datastream
  • Swaps endianness of given 16 bit value.

    +swap16 | @kayahr/datastream
    • Swaps endianness of given 16 bit value.

      Parameters

      • value: number

        The value to swap.

      Returns number

      the swapped value.

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/index.swap32.html b/functions/core.swap32.html similarity index 85% rename from functions/index.swap32.html rename to functions/core.swap32.html index 3dd7b13..4c95ba2 100644 --- a/functions/index.swap32.html +++ b/functions/core.swap32.html @@ -1,4 +1,4 @@ -swap32 | @kayahr/datastream
    • Swaps endianness of given 32 bit value.

      +swap32 | @kayahr/datastream
      • Swaps endianness of given 32 bit value.

        Parameters

        • value: number

          The value to swap.

        Returns number

        the swapped value.

      Generated using TypeDoc

      \ No newline at end of file diff --git a/functions/index.swap64.html b/functions/core.swap64.html similarity index 85% rename from functions/index.swap64.html rename to functions/core.swap64.html index 4370b69..a4849eb 100644 --- a/functions/index.swap64.html +++ b/functions/core.swap64.html @@ -1,4 +1,4 @@ -swap64 | @kayahr/datastream
      • Swaps endianness of given 64 bit value.

        +swap64 | @kayahr/datastream
        • Swaps endianness of given 64 bit value.

          Parameters

          • value: bigint

            The value to swap.

          Returns bigint

          the swapped value.

        Generated using TypeDoc

        \ No newline at end of file diff --git a/functions/index.writeDataToStream.html b/functions/core.writeDataToStream.html similarity index 77% rename from functions/index.writeDataToStream.html rename to functions/core.writeDataToStream.html index 0519fbd..7b494fd 100644 --- a/functions/index.writeDataToStream.html +++ b/functions/core.writeDataToStream.html @@ -1,6 +1,6 @@ -writeDataToStream | @kayahr/datastream
        • Creates a data writer for the given stream, passes it to the given callback function, flushes the data writer +writeDataToStream | @kayahr/datastream

          Function writeDataToStream

          • Creates a data writer for the given stream, passes it to the given callback function, flushes the data writer and release the stream writer lock after callback execution.

            Parameters

            • stream: WritableStream<Uint8Array>

              The stream to write to.

            • callback: ((writer) => void | Promise<void>)

              The callback function to call with the created data writer as argument.

              -
                • (writer): void | Promise<void>
                • Parameters

                  Returns void | Promise<void>

            • Optional options: DataWriterOptions

              Optional data writer options.

              +
                • (writer): void | Promise<void>
                • Parameters

                  Returns void | Promise<void>

            • Optional options: DataWriterOptions

              Optional data writer options.

            Returns Promise<void>

          Generated using TypeDoc

          \ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html index 6cb1049..210c4a1 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -@kayahr/datastream

          Generated using TypeDoc

          \ No newline at end of file +@kayahr/datastream

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/index.DataReaderOptions.html b/interfaces/core.DataReaderOptions.html similarity index 74% rename from interfaces/index.DataReaderOptions.html rename to interfaces/core.DataReaderOptions.html index d5e0b41..d3726ea 100644 --- a/interfaces/index.DataReaderOptions.html +++ b/interfaces/core.DataReaderOptions.html @@ -1,6 +1,6 @@ -DataReaderOptions | @kayahr/datastream

          Interface DataReaderOptions

          Options for constructing a data reader.

          -
          interface DataReaderOptions {
              encoding?: string;
              endianness?: Endianness;
          }

          Properties

          encoding? -endianness? +DataReaderOptions | @kayahr/datastream

          Interface DataReaderOptions

          Options for constructing a data reader.

          +
          interface DataReaderOptions {
              encoding?: string;
              endianness?: Endianness;
          }

          Properties

          encoding?: string

          The encoding used to read strings. Defaults to "utf-8".

          -
          endianness?: Endianness

          The endianness to use for reading multi-byte values. Defaults to native endianness.

          +
          endianness?: Endianness

          The endianness to use for reading multi-byte values. Defaults to native endianness.

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/index.DataReaderSource.html b/interfaces/core.DataReaderSource.html similarity index 75% rename from interfaces/index.DataReaderSource.html rename to interfaces/core.DataReaderSource.html index 184c3a1..bea0e52 100644 --- a/interfaces/index.DataReaderSource.html +++ b/interfaces/core.DataReaderSource.html @@ -1,5 +1,5 @@ -DataReaderSource | @kayahr/datastream

          Interface DataReaderSource

          Interface for a data reader source.

          -
          interface DataReaderSource {
              read(): ReadableStreamReadResult<Uint8Array> | Promise<ReadableStreamReadResult<Uint8Array>>;
          }

          Implemented by

          Methods

          read +DataReaderSource | @kayahr/datastream

          Interface DataReaderSource

          Interface for a data reader source.

          +
          interface DataReaderSource {
              read(): ReadableStreamReadResult<Uint8Array> | Promise<ReadableStreamReadResult<Uint8Array>>;
          }

          Implemented by

          Methods

          Methods

          • Reads a chunk from the source.

            Returns ReadableStreamReadResult<Uint8Array> | Promise<ReadableStreamReadResult<Uint8Array>>

            the read result.

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/index.DataWriterOptions.html b/interfaces/core.DataWriterOptions.html similarity index 74% rename from interfaces/index.DataWriterOptions.html rename to interfaces/core.DataWriterOptions.html index 6c6a636..8f61727 100644 --- a/interfaces/index.DataWriterOptions.html +++ b/interfaces/core.DataWriterOptions.html @@ -1,8 +1,8 @@ -DataWriterOptions | @kayahr/datastream

          Interface DataWriterOptions

          Options for constructing a data writer.

          -
          interface DataWriterOptions {
              bufferSize?: number;
              encoding?: string;
              endianness?: Endianness;
          }

          Properties

          bufferSize? -encoding? -endianness? +DataWriterOptions | @kayahr/datastream

          Interface DataWriterOptions

          Options for constructing a data writer.

          +
          interface DataWriterOptions {
              bufferSize?: number;
              encoding?: string;
              endianness?: Endianness;
          }

          Properties

          bufferSize?: number

          The buffer size. Defaults to 64KB.

          encoding?: string

          The encoding used to write strings. Defaults to "utf-8".

          -
          endianness?: Endianness

          The endianness to use for writing multi-byte values. Defaults to native endianness.

          +
          endianness?: Endianness

          The endianness to use for writing multi-byte values. Defaults to native endianness.

          Generated using TypeDoc

          \ No newline at end of file diff --git a/interfaces/index.DataWriterSink.html b/interfaces/core.DataWriterSink.html similarity index 77% rename from interfaces/index.DataWriterSink.html rename to interfaces/core.DataWriterSink.html index 3b92c86..8b0ae0c 100644 --- a/interfaces/index.DataWriterSink.html +++ b/interfaces/core.DataWriterSink.html @@ -1,5 +1,5 @@ -DataWriterSink | @kayahr/datastream

          Interface for a data writer sink.

          -
          interface DataWriterSink {
              write(chunk): void | Promise<void>;
          }

          Implemented by

          Methods

          write +DataWriterSink | @kayahr/datastream

          Interface DataWriterSink

          Interface for a data writer sink.

          +
          interface DataWriterSink {
              write(chunk): void | Promise<void>;
          }

          Implemented by

          Methods

          Methods