> Hi all,
> When using javax.comm for serial communications what is the
[quoted text clipped - 5 lines]
>
> Thanks in advance.
Why do you care. Just read the data. If you need to buffer it some
more, use a BufferedInputStream. If you really have to know you can
call CommPort.getInputBufferSize(). Don't you have the docs?

Signature
Knute Johnson
email s/nospam/knute/
Wills - 26 Sep 2007 07:21 GMT
> Why do you care. Just read the data. If you need to buffer it some
> more, use a BufferedInputStream. If you really have to know you can
[quoted text clipped - 4 lines]
> Knute Johnson
> email s/nospam/knute/
Thanks.
The documentation says that the ".available()" method does not
guarantee exact number of data(bytes) available in the Buffered output
stream.
Knute Johnson - 26 Sep 2007 17:23 GMT
>> Why do you care. Just read the data. If you need to buffer it some
>> more, use a BufferedInputStream. If you really have to know you can
[quoted text clipped - 9 lines]
> guarantee exact number of data(bytes) available in the Buffered output
> stream.
It should come with a big warning not to use it too! You might want to
post some of your code here so we can see what you are up to.

Signature
Knute Johnson
email s/nospam/knute/