This isn't affecting me in anyway, just something I noticed...
The docs for InStream.avail() say:
Return the number of bytes available on input stream without blocking. Return zero if no bytes available or it is unknown. Throw IOErr on error.
But when I called avail() from a ChunkInStream I got:
avail()
ChunkInStream
sys::UnsupportedErr: fan.web.ChunkInStream wraps null InStream fan.sys.InStream.avail (InStream.java:102) ...
As unsupported is kinda like unknown I thought perhaps I'd receive zero instead.
Login or Signup to reply.
SlimerDude Mon 11 Feb 2019
This isn't affecting me in anyway, just something I noticed...
The docs for InStream.avail() say:
But when I called
avail()
from aChunkInStream
I got:As unsupported is kinda like unknown I thought perhaps I'd receive zero instead.