Exemplo n.º 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;
        }
Exemplo n.º 2
0
 private static string PrintBuffer(PyBuffer buf)
 {
     return("[PyBuffer " + buf.Data.Length + " bytes]");
 }
Exemplo n.º 3
0
 private static string PrintBuffer(PyBuffer buf)
 {
     return "[PyBuffer " + buf.Data.Length + " bytes]";
 }