VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Data Namespace / VintasoftBufferedStream Class / VintasoftBufferedStream Constructors / VintasoftBufferedStream Constructor(Stream,Int32)
Syntax Exceptions Requirements SeeAlso
In This Topic
    VintasoftBufferedStream Constructor(Stream,Int32)
    In This Topic
    Initializes a new instance of the VintasoftBufferedStream class with the specified buffer size.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal stream
    The current stream.
    As System.IO.Stream, _
    ByVal bufferSize
    The buffer size in bytes.
    As Integer _
    )
    public VintasoftBufferedStream(
    System.IO.Stream stream,
    int bufferSize
    )
    public: VintasoftBufferedStream(
    System.IO.Stream* stream,
    int bufferSize
    )
    public:
    VintasoftBufferedStream(
    System.IO.Stream^ stream,
    int bufferSize
    )

    Parameters

    stream
    The current stream.
    bufferSize
    The buffer size in bytes.
    Exceptions
    ExceptionDescription
    Thrown if stream is null.
    Thrown if bufferSize is negative.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also