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
StreamStream to read from.
readOption
FileReadOptionDefines the handling of large tags.
largeObjectSize
intCustom limit of what are large values and what are not. If 0 is passed, then the default of 64k is used.