Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    NativeStreamExtensions Class

    Namespace: Stride.Core.IO
    Assembly: Stride.Core.dll

    Extension methods concerning NativeStream.

    System.Object → NativeStreamExtensions
    Derived from NativeStreamExtensions:

    public static class NativeStreamExtensions
    Name Description
    Methods
    ToNativeStream(Stream)

    Converts a System.IO.Stream to a NativeStream.

    | Improve this Doc View Source

    Methods


    ToNativeStream(Stream)

    Converts a System.IO.Stream to a NativeStream.

    public static NativeStream ToNativeStream(this Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream.

    Returns
    Type Description
    NativeStream
    Remarks

    If is already a NativeStream, it will be returned as is. Otherwise, a NativeStreamWrapper around it will be created.


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation