of bytes, so I have been just trying to make sure I had the best
solution.
I would still like to read the underlying GoLang code on Read() to see what
assumptions it makes to the system calls.
thanks,
Ron
On Friday, December 27, 2019 at 5:11:42 PM UTC-7, Ron Wahler wrote:
>
> I am looki
great.
cheers,
Ron
On Friday, December 27, 2019 at 5:11:42 PM UTC-7, Ron Wahler wrote:
>
> I am looking for a net.conn standard read that would return a data buffer
> the exact size of the read. I am trying to read an unknown amount of byte
> data from the connection. With the rea
d.
buf, read_err := ioutil.ReadAll(Csrc)
thanks,
Ron
On Friday, December 27, 2019 at 5:11:42 PM UTC-7, Ron Wahler wrote:
>
> I am looking for a net.conn standard read that would return a data buffer
> the exact size of the read. I am trying to read an unknown amount of byte
> da
I did look at ReadAll, but it won't return until it sees EOF. I am trying
to find something that would return when the standard read would return. I
get the memory part and would manage that. Any other ideas ?
thanks,
Ron
On Friday, December 27, 2019 at 5:11:42 PM UTC-7, Ron Wahler
I am looking for a net.conn standard read that would return a data buffer
the exact size of the read. I am trying to read an unknown amount of byte
data from the connection. With the read i am using I am required to
pre-allocate a buffer and pass that buffer to the read. I am looking for a
read