Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataStream Class / DataStream Constructor / DataStream Constructor(Int32,Boolean,Boolean)
The size of the buffer to be allocated, in bytes.
true if reading from the buffer should be allowed; otherwise, false.
true if writing to the buffer should be allowed; otherwise, false.

In This Topic
    DataStream Constructor(Int32,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the DataStream class, and allocates a new buffer to use as a backing store.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sizeInBytes As System.Integer, _
       ByVal canRead As System.Boolean, _
       ByVal canWrite As System.Boolean _
    )
    public DataStream( 
       System.int sizeInBytes,
       System.bool canRead,
       System.bool canWrite
    )

    Parameters

    sizeInBytes
    The size of the buffer to be allocated, in bytes.
    canRead
    true if reading from the buffer should be allowed; otherwise, false.
    canWrite
    true if writing to the buffer should be allowed; otherwise, false.
    See Also