Initializes a new instance of the 
DataStreamclass, using an unmanaged buffer as a backing store.
 
            
            
            シンタックス
            
            
            
            
            '宣言
 
Public Function New( _
   ByVal  As System.IntPtr, _
   ByVal  As System.Long, _
   ByVal  As System.Boolean, _
   ByVal  As System.Boolean _
)
             
        
            
            public DataStream( 
   System.IntPtr ,
   System.long ,
   System.bool ,
   System.bool 
)
             
        
             
        
            パラメータ
- userBuffer
 
- A pointer to the buffer to be used as a backing store.
 - sizeInBytes
 
- The size of the buffer provided, in bytes.
 - canRead
 
trueif reading from the buffer should be allowed; otherwise, false.- canWrite
 
trueif writing to the buffer should be allowed; otherwise, false.
             
            
            
            
            
            
            
            
            
            
            
            
            参照