I can't seem to find any easy to convert a PythonBuffer (created in Python and passed to C#) to a byte[]. The best solution I've found so far is to call __getslice__ to get a string and convert that to a byte[]. Is there a better way to so this? If not, will __getslice__ always return a string, or will it depend on how the buffer was created?
- Jeff _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com