On Tue, 4 May 1999, philippe boyer wrote:
> when i try to read the attached file with jacl 1.1.1/NT the result is:
>
> % open c:/readProblem.txt
> file4
>
> % read file4
> [B@574c681ashot M = Snapshot ]
> CallCtlConnEstablishedEv[ Ad = ADDR_2 C = Snapshot M = Snapshot ]
> TermConnActiveEv[ Tm =
Moses DeJong wrote:
> I would be willing to bet that it is just reading the size of the buffer
> not the size of the file.
>
> (from FileChannel.java)
>
> private static final int BUF_SIZE = 1024;
I have changed this value to 1024*10 it seems to work in my case ...of course this
workaroud is n
while I am not still sure why read doesn't read the full file, try "read fileID
numBytes".
% set x [read file3 1500]
ConnDisconnectedEv[ Ad = ADDR_1 C = CCtrl Conference M = Unknow ]
CallCtlConnDisconnectedEv[ Ad = ADDR_1 C = CCtrl Conference M = Unknow ]
TermConnDroppedEv[ Tm = ADDR_1 C = Normal