From: "Eric M. Ludlam" <eric@siege-engine.com>
Subject: Re[1]: struct.el -- a package to encode/decode binary data
Date: Mon, 18 Mar 2002 20:38:20 -0500 [thread overview]
Message-ID: <200203190138.g2J1cKN17854@beta.siege-engine.com> (raw)
In-Reply-To: <5x1yehpj1w.fsf@kfs2.cua.dk> (no-spam@cua.dk)
>>> no-spam@cua.dk (Kim F. Storm) seems to think that:
>
>While writing a package that sends and receives datagrams using the
>new make-network-process functionality, I quickly found that I needed
>to be able to encode and decode binary data structures, so I came up
>with the following package (struct.el).
>
>I'd like to hear if something like this already exists, or if others
>find it should be added to emacs (with more complete documentation of
>course). [Also, the struct-pack function doesn't work with nested
>data, but I'll fix that if there is an interest in this package].
>
>++kfs
>
>------------------------- struct.el --------------------
>;;; struct.el --- basic data structure packing and unpacking.
>
>;; Copyright (C) 2002 Free Software Foundation, Inc.
>
[ ... ]
I wrote something for packing X messages via a TCP socket. You could
define the message in a vector and it would pack and unpack the item.
It was X centric, and you could encode sizes for X's dynamic length
fields. The key to what I built was to make defining the 100's of X
messages easy.
http://cedet.sourceforge.net/
http://cedet.sourceforge.net/ftp/X-0.3a.tar.gz
It was over 5 years ago when I wrote it so it worked with some pretty
old versions of Emacs, but I could help someone get it working if
needed.
It was really quite nifty, if somewhat esoteric.
Eric
--
Eric Ludlam: zappo@gnu.org, eric@siege-engine.com
Home: www.ultranet.com/~zappo Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-03-19 1:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-18 23:12 struct.el -- a package to encode/decode binary data Kim F. Storm
2002-03-19 0:25 ` Miles Bader
2002-03-19 1:38 ` Eric M. Ludlam [this message]
2002-03-19 12:56 ` Re[1]: " Kim F. Storm
2002-03-19 13:26 ` Re[3]: " Eric M. Ludlam
2002-03-19 7:02 ` Eli Zaretskii
2002-03-19 12:34 ` Stefan Monnier
2002-03-19 14:38 ` Eli Zaretskii
2002-03-19 14:33 ` Luke Gorrie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200203190138.g2J1cKN17854@beta.siege-engine.com \
--to=eric@siege-engine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).