void IWMWriterSink.OnDataUnit(INSSBuffer pDataUnit)
        {
            ManBuffer m = (ManBuffer)pDataUnit;

            s.Send(m.Buffer, 0, m.UsedLength);
        }
        void IWMWriterSink.OnHeader(INSSBuffer pHeader)
        {
            ManBuffer m = (ManBuffer)pHeader;

            s.Send(m.Buffer, 0, m.UsedLength);
        }
 void IWMWriterSink.AllocateDataUnit(int cbDataUnit, out INSSBuffer ppDataUnit)
 {
     ppDataUnit = new ManBuffer(cbDataUnit);
 }