Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class StreamByteSourceFactory

    Factory for creating a stream byte source for reading.

    Inheritance
    System.Object
    StreamByteSourceFactory
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.IO
    Assembly: fo-dicom.core.dll
    Syntax
    public static class StreamByteSourceFactory

    Methods

    Create(Stream, FileReadOption, Int32)

    Returns a newly created instance of a stream byte source class. The actual class depends on the stream capabilities.

    Declaration
    public static IByteSource Create(Stream stream, FileReadOption readOption = FileReadOption.Default, int largeObjectSize = 0)
    Parameters
    Type Name Description
    System.IO.Stream stream

    Stream to read from.

    FileReadOption readOption

    Defines the handling of large tags.

    System.Int32 largeObjectSize

    Custom limit of what are large values and what are not. If 0 is passed, then the default of 64k is used.

    Returns
    Type Description
    IByteSource
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors