Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65B0010B2E for ; Tue, 23 Dec 2014 10:09:50 +0000 (UTC) Received: (qmail 60589 invoked by uid 500); 23 Dec 2014 10:09:50 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 60432 invoked by uid 500); 23 Dec 2014 10:09:50 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 60420 invoked by uid 99); 23 Dec 2014 10:09:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2014 10:09:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2014 10:09:23 +0000 Received: by mail-vc0-f177.google.com with SMTP id ij19so2203667vcb.36 for ; Tue, 23 Dec 2014 02:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GON5SplSTsf/kHxT60J0OrDgEywrgCvP6wX8+3dteYU=; b=OXk2TxsEBRBmspcTqKEVFQnY4N7wgrUM1dKo7ZVN5fjXjoNqDKYkis15K/Gi3HW6Jf dYBbpZJZkC+Yxqaizl7ogm7W/72DYUBuGAJI0do5dD0S/auwasAfcKbqRR08Teh1yen4 NC+hMSQQJaHe5BqIEBF299xz/teHEHQ5fY8AFvKD1IxiRH17+DfFXlmUY6HIaMbIbMvF qdSTA0F+6uKnp5o7QWzcvCssWlvlaE15SPiTrxG2EsJd0Bq2umJ6AXTf6o+cDI19GcLI 8wxT9VEWdHqm0HbSIDKrd4/Sdu9nCkGBIL5ZQBZK6khF0r62sp3sqhKlbVHJkZN8b2no co9Q== MIME-Version: 1.0 X-Received: by 10.220.102.133 with SMTP id g5mr6725023vco.58.1419329316991; Tue, 23 Dec 2014 02:08:36 -0800 (PST) Received: by 10.52.36.174 with HTTP; Tue, 23 Dec 2014 02:08:36 -0800 (PST) In-Reply-To: References: Date: Tue, 23 Dec 2014 10:08:36 +0000 Message-ID: Subject: Re: [io] Make org.apache.commons.io.output.ByteArrayOutputStream resversible ? From: sebb To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 23 December 2014 at 07:55, Kristian Rosenvold wrote: > I'd like to make a public (synchronized) version of the > "toBufferedInputStream" method in this class, which would allow > zero-copy turnaround of the outputstream to an input-stream; I am a > bit puzzled why this hasn't been done yet. Huh? What's wrong with the existing method: InputStream org.apache.commons.io.output.ByteArrayOutputStream.toInputStream() > Ok ? > > Kristian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org