Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Jan Burse Newsgroups: comp.lang.java.programmer Subject: Re: Fav. Memory Stream Impl. Date: Fri, 25 Nov 2011 21:23:29 +0100 Organization: albasani.net Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net OXRR/yAquh9J2WqVsfxqpgQdkfbjprK9QWEMTvElO0lFnVWx2GcJ6sjv6ySyDJH0v7//AmtuXZbRWVkGQv4wu5g8haRKbBJCOSb92EB2Ry+jlPmQFVbKUUUO1luVfbk/ NNTP-Posting-Date: Fri, 25 Nov 2011 20:23:34 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="wOX5SycHkr9DARjMT4DKJ3AfbzErdVIHqTKEdvfBHGi6roZlWUjd9KgCBWS5NfBEwdicp05xRgkqGX0PzZ5lLbB7R3qsV8+XwZWgB+GMRRSJ+S6eRIjkTVLMHrc+zySB"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1 In-Reply-To: Cancel-Lock: sha1:01CyzLoVd+LQA2rolA+hR20IoSk= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10234 markspace schrieb: > On 11/25/2011 11:59 AM, Jan Burse wrote: >> markspace schrieb: >>> For special pruposes Java also has things like memory buffers for >>> logging. >> >> Which classes? Part of JDK or some utility? > > > It wouldn't kill you to look through the Java API yourself, you know. > Specifically for the logger, since that's what you seem to be interested > in: > > > > > No the memory stream need not be cyclic. The Java/J2ME code reference I gave has maximally 256*chunks of size 16384 each. And there is something with a cicular buffer in it. But I guess the .NET memory streams are not cyclic. I am looking for something like the .NET memory streams, so that I can get rid of temporary file names in my application. Bye