У меня не работает декодирование. что я делаю не так? Stream-поток. Если вместо декодера поставить опять кодер, то данные выходят.
Add(MainForm,2953706,70,63)
{
link(onCreate,16593950:doEvent1,[(135,83)(135,174)])
}
Add(EnCrypt,8080906,357,168)
{
Mode=7
Key="123"
Point(onError)
Point(SrcStream)
Point(Count)
Point(DstStream)
link(onEncrypt,6429648:doEvent1,[])
link(SrcStream,5725902:Stream,[(391,156)(303,156)(303,212)(216,212)])
link(Count,5725902:Size,[(398,156)(310,156)(310,212)(223,212)])
link(DstStream,4637271:Var1,[(405,135)])
}
Add(Memory,15521796,210,98)
{
Default=String(D:\\1.txt)
AddHint(-5,-26,66,13,Default)
}
Add(FileStream,5725902,210,168)
{
link(onLoad,8080906:doEncryptStream,[(300,174)(300,188)])
link(FileName,15521796:Value,[])
}
Add(Hub,16593950,168,168)
{
link(onEvent1,5725902:doOpen,[])
link(onEvent2,5725902:doClose,[])
}
Add(MemoryStream,11497243,427,84)
{
Point(Position)
}
Add(Message,13090973,756,161)
{
}
Add(StreamConvertor,5461495,672,161)
{
Mode=6
Point(Data)
link(onResult,3076053:doWork2,[])
link(Data,6188669:Var2,[(678,152)(608,152)])
}
Add(MemoryStream,2735362,602,91)
{
}
Add(Hub,6429648,420,168)
{
OutCount=3
link(onEvent1,6578805:doConvert,[(455,174)(455,237)])
link(onEvent2,13922385:doDecryptStream,[])
link(onEvent3,11497243:doClear,[(446,188)(446,142)(415,142)(415,97)])
}
Add(GetDataEx,4637271,427,130)
{
link(Data,11497243:Stream,[])
}
Add(GetDataEx,6188669,602,134)
{
link(Data,2735362:Stream,[])
}
Add(Hub,954078,630,161)
{
link(onEvent1,5461495:doConvert,[])
link(onEvent2,2735362:doClear,[(656,174)(656,146)(590,146)(590,104)])
}
Add(StreamConvertor,6578805,476,231)
{
Mode=6
Point(Data)
link(onResult,3076053:doWork3,[(718,237)])
link(Data,15303977:Var2,[])
}
Add(GetDataEx,15303977,476,130)
{
Angle=3
link(Data,4637271:Var3,[])
}
Add(HubEx,3076053,714,161)
{
link(onEvent,13090973:doMessage,[])
}
Add(DeCrypt,13922385,518,161)
{
Mode=7
Key="123"
Point(SrcStream)
Point(Count)
Point(DstStream)
link(onDecrypt,954078:doEvent1,[])
link(SrcStream,15303977:Var3,[(552,135)])
link(Count,11497243:Size,[(559,139)(440,139)])
link(DstStream,6188669:Var1,[(566,139)])
}