コード例 #1
0
ファイル: PyCachedObject.cs プロジェクト: Reve/EVESharp
        /* 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;
        }
コード例 #2
0
 private static string PrintBuffer(PyBuffer buf)
 {
     return("[PyBuffer " + buf.Data.Length + " bytes]");
 }
コード例 #3
0
ファイル: PrettyPrinter.cs プロジェクト: Reve/EVESharp
 private static string PrintBuffer(PyBuffer buf)
 {
     return "[PyBuffer " + buf.Data.Length + " bytes]";
 }