Table of Contents

Class StreamByteSourceFactory

Namespace
FellowOakDicom.IO
Assembly
fo-dicom.core.dll

Factory for creating a stream byte source for reading.

public static class StreamByteSourceFactory
Inheritance
StreamByteSourceFactory
Inherited Members

Methods

Create(Stream, FileReadOption, int)

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

public static IByteSource Create(Stream stream, FileReadOption readOption = FileReadOption.Default, int largeObjectSize = 0)

Parameters

stream Stream

Stream to read from.

readOption FileReadOption

Defines the handling of large tags.

largeObjectSize int

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

Returns

IByteSource