Writes data from memory buffer to the stream.
Syntax
'Declaration
Public Sub Write( _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim instance As ImGearPDFStream
Dim buffer() As Byte
Dim itemCount As Integer
Dim itemSize As Integer
instance.Write(buffer, itemCount, itemSize)
public void Write(
byte[] ,
int ,
int
)
public: void Write(
byte[]* ,
int ,
int
)
public:
void Write(
array<byte>^ ,
int ,
int
)
Parameters
- buffer
- Memory buffer.
- itemCount
- Number of items to write. The amount of data written into the memory buffer will be
itemCount multiplied by itemSize.The relative values of itemCount and itemSize really do not matter; the only thing that matters is their product. It is often convenient to set itemSize to 1, so that itemCount is the number of bytes to write. - itemSize
- Number of bytes in an item.
See Also