MemoryStream.peek

Peeks at multiple values of type T from the stream without advancing the stream position.

  1. T peek()
  2. T[] peek(size_t count)
    class MemoryStream
    final
    T[]
    peek
    (
    T
    )
    (
    size_t count
    )
  3. T peek()

Parameters

T

The type of data to peek.

count size_t

The number of values to peek from the stream.

Return Value

Type: T[]

An array of values peeked from the stream.

Meta