emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suggestion: function: buffer-bytes


From: Kenichi Handa
Subject: Re: suggestion: function: buffer-bytes
Date: Mon, 02 Jul 2007 09:48:15 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

> > Then perhaps what you need is this.
> > (defun buffer-encoded-size (&optional buffer coding)

> But in his case, he's probably better off just encoding the buffer manually
> before passing the data to the process/network, so that he can get his hands
> on the number of bytes with just buffer-size.

Perhaps.  But, I don't know how and when the data is passed
to the process and when he needs the encoded byte size.

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]