Larry Brister
asked on
STream Reader and buffer
In my code below, is there a way I can set the readBuff dynamically?
While streamResponse.CanRead
Dim streamRead As New StreamReader(streamResponse)
Dim readBuff(5120) As [Char]
Dim count As Integer = streamRead.Read(readBuff, 0, 5120)
Etc...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you please explain better what's your problem?
u can use a variable instead the number when u initialize the array.
ASKER
Ok guys...
So there's no dynamic setting of the number based on the Stream itself?
So there's no dynamic setting of the number based on the Stream itself?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks