BitMiracle.Tiff2Pdf.MyStream.Write C# (CSharp) Method

Write() public method

public Write ( object clientData, byte buffer, int offset, int count ) : void
clientData object
buffer byte
offset int
count int
return void
        public override void Write(object clientData, byte[] buffer, int offset, int count)
        {
            T2P t2p = clientData as T2P;
            if (t2p == null)
                throw new ArgumentException(Tiff2PdfConstants.UnexpectedClientData, "clientData");

            if (!t2p.m_outputdisable && t2p.m_outputfile != null)
            {
                t2p.m_outputfile.Write(buffer, offset, count);
                t2p.m_outputwritten += count;
            }
        }