473,660 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to encode yEnc?

People, many of you may not know what yEnc is. To simplify, it is a methode
to encode binary files very used in Usenet because it creates an overhead
of only 2% when compare to 33%-40% of overhead created by other methos such
as UUencode, base64...

However, every code example I so was in C and using unsigned numbers.
Actually, I've found one example in Java, but just for decode, not for
encode. Are there anyone who knows how to help me?

For more info on yEnc you can visit http://www.yenc.org

Thanks,
Scirious.
May 25 '06 #1
6 6835
Scirious wrote:
People, many of you may not know what yEnc is. To simplify, it is a methode
to encode binary files very used in Usenet because it creates an overhead
of only 2% when compare to 33%-40% of overhead created by other methos such
as UUencode, base64...

However, every code example I so was in C and using unsigned numbers.
Actually, I've found one example in Java, but just for decode, not for
encode. Are there anyone who knows how to help me?

For more info on yEnc you can visit http://www.yenc.org

Thanks,
Scirious.


There ia a product called JYEnc. I guess you could check their code to
see how it works.

http://ktulu.com.ar/en/jyenc.php
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
_______________ _______________ _______________ _______________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
May 25 '06 #2
Scirious <sc******@sciri ous.com> wrote in news:89-dnZcDxLa-
mu************* *****@giganews. com:
Thanks,
Scirious.


Nope :( Same here... Just to let you know I feel your pain and if I find
anything I will let you know. I also have the decoder but not the encoder
:'(
May 26 '06 #3
> Nope :( Same here... Just to let you know I feel your pain and if I
find anything I will let you know. I also have the decoder but not the
encoder
:'(


Thanks!If I find anything all let you know either.
May 26 '06 #4
Chris, have you read yEnc specs? When we see those codes example they use
unsigned numbers, but I'm no sure why. The specs doesn't say anything about
the need to use unsigned numbers.
May 29 '06 #5
Scirious <sc******@sciri ous.com> wrote in
news:lr******** ************@gi ganews.com:
Chris, have you read yEnc specs? When we see those codes example they
use unsigned numbers, but I'm no sure why. The specs doesn't say
anything about the need to use unsigned numbers.


Yeah, I tried both int, byte and combination of all ... :( I managed to
encode something... but apparently it was not good :(

The issue I got was some kind of 'InputReader' or 'InputStream' issue :(
Associated with Codepage... I was ading the 42 but then , suddenly the char
was not valid...

I gave up... :(
Jun 5 '06 #6
Chris, search the site www.koders.com that you may find some interesting
information.

Scirious.

Jun 21 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2357
by: Freddie | last post by:
Hi, I posted a while ago for some help with my word finder program, which is now quite a lot faster than I could manage. Thanks to all who helped :) This time, I've written a basic batch binary usenet poster in Python, but encoding the data into yEnc format is fairly slow. Is it possible to improve the routine any, WITHOUT using non-standard libraries? I don't want to have to rely on something strange ;)
5
369
by: Marvin Grill | last post by:
Hi, I'm working on a type of NewsHound program and am stuck on how to decode the yEnc encoded articles (body). I tried using Joe Feser's yEnc class but can't seem to get it to work properly Not sure whether it's an Encoding.Type problem or not getting the stream start position right. In any case here's part of the code with the problem:
2
2060
by: Phillip Hamlyn | last post by:
I'm trying to get a Yenc Decoding algorithm working but keep getting the same problem. I'm using data from the yenc test newsgroup and have tried the same thing with most of the example source code on sourceforge etc. with multiple different posts and I keep getting the same problem - the post I'm trying to decode has an encoded JPG file (a film poster for Kill Bill 2) which the yEnc tools like yEnc.EXE manage to decode and encode fine, but...
0
6460
by: Christophe Elek | last post by:
Ok, I am completly at lost :) in both cases (my Yenc and zip utilities) i try to do the following 1) get a String 2) transform in byte 3) so some computation (either adding value to the byte or passing it to the ZipOutputStream on a ByteArrayOutputStream) 4) then transform back into String
0
1062
by: BiT | last post by:
Hi, I'm working on a newsgroup program and stuck on how to decode the yEnc encoded articles (body). i've found this dll of yenc32 - yDecLib.dll in https://sourceforge.net/projects/yenc32/ but when i try to add it to my project i get error message: please make sure that the file is accessible, and that it is a valid assembly or COM component. dose any1 kow source code or dll file of function to decode yenc?
6
2242
by: Extremest | last post by:
Does anyone know how to decode a yenc encoded file? I have created a decoder that seems to work great for text. Now i am trying to create another one for images and I can't get it to work. I have changed the encoding on mine and that didn't work and then I tried the only 2 open source ones I can Find. It is driving me nuts.
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.