Example #1
0
        /* This should never be used in the node, just the Cache Tool */
        public bool Decode(PyObject from)
        {
            PyTuple data = (from as PyObjectData).Arguments as PyTuple;

            // Just decode the cache info for now..
            cache = data.Items[4] as PyBuffer;

            return true;
        }
Example #2
0
 private static string PrintBuffer(PyBuffer buf)
 {
     return("[PyBuffer " + buf.Data.Length + " bytes]");
 }
Example #3
0
 private static string PrintBuffer(PyBuffer buf)
 {
     return "[PyBuffer " + buf.Data.Length + " bytes]";
 }