[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suggestion: function: buffer-bytes
From: |
Stefan Monnier |
Subject: |
Re: suggestion: function: buffer-bytes |
Date: |
Sun, 01 Jul 2007 08:39:03 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> 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.
Stefan
Re: suggestion: function: buffer-bytes, Eli Zaretskii, 2007/07/01