[IronPython] Reproducing an C# array of floats

Daniel D. olomen at hotmail.com
Wed Nov 4 22:08:27 CET 2009













Ahh, read is a generic method and you’re getting type inference
from C# but not IronPython.  IronPython 2.6 includes type inference on generic
methods so this might just work there, but otherwise I think you can do:

 

print
buffer.Read[Single](sample, 0, True)


 worked perfectly! thank you so much dino.



 		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091105/8cb34f2e/attachment.html>


More information about the Ironpython-users mailing list