internal static void Recycle(ProtoReader reader) { if (reader != null) { reader.Dispose(); ProtoReader.lastReader = reader; } }
static public int Dispose(IntPtr l) { try { ProtoBuf.ProtoReader self = (ProtoBuf.ProtoReader)checkSelf(l); self.Dispose(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }