コード例 #1
0
ファイル: TextCache.cs プロジェクト: ArsenShnurkov/beagle-1
            public TextCacheWriteStream(string path, bool world_readable, StreamClosedHandler finished_handler)
            {
                this.path             = path;
                this.world_readable   = world_readable;
                this.finished_handler = finished_handler;

                stream     = null;
                buffer     = new byte [BLOB_SIZE_LIMIT];
                buffer_pos = 0;
            }
コード例 #2
0
ファイル: TextCache.cs プロジェクト: ArsenShnurkov/beagle-1
			public TextCacheWriteStream (string path, bool world_readable, StreamClosedHandler finished_handler) {
				this.path = path;
				this.world_readable = world_readable;
				this.finished_handler = finished_handler;

				stream = null;
				buffer = new byte [BLOB_SIZE_LIMIT];
				buffer_pos = 0;
			}