[IronPython] Q: How to resize an System.Array ?
bernd.viehmann at ascom-ac.de
Fri Jan 12 03:47:02 PST 2007
I have some problems with using >System.Array<-instances in ipy.
I have found a way to create them, but not how to use the :-). Basically
i want 2 use a MemoryStream in the following way ( kind of C#-way :-) ) :
dataHeap = System.Array[System.Byte]
bytesRead = reader.Read(dataHeap, 0, PiceLength)
But ipy does not understand me. I receive the message:
TypeError: no callable targets, if this is a generic method make sure
specify the type parameters
Any ideas who to use the mem-stream?
More information about the users