X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 63C8FD1B738 for ; Tue, 27 Jul 2004 07:47:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32465-07 for ; Tue, 27 Jul 2004 10:47:21 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id BAAA7D1B72E for ; Tue, 27 Jul 2004 07:47:18 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BpPUP-0000qi-00 for ; Tue, 27 Jul 2004 12:47:21 +0200 Received: from 212.209.14.34 ([212.209.14.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2004 12:47:21 +0200 Received: from thhal by 212.209.14.34 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2004 12:47:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-hackers@postgresql.org From: Thomas Hallgren Subject: Re: Binary Cursors, and the COPY command Date: Tue, 27 Jul 2004 12:41:49 +0200 Lines: 12 Message-ID: <4106316D.2000605@mailblocks.com> References: <10519.64.119.142.34.1090863707.squirrel@mail.mohawksoft.com> <410574F9.9020103@opencloud.com> <4105FF43.40508@opencloud.com> <41062A31.7000800@opencloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 212.209.14.34 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en In-Reply-To: <41062A31.7000800@opencloud.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/1297 X-Sequence-Number: 56858 Oliver Jowett wrote: > I suppose so. I'd point out that the NIO byteorder info is really just > an optimization hint -- the rest of the NIO API is byteorder agnostic, > regardless of what the native byteorder is. > The rest of the NIO API is not agnostic. A java.nio.ByteBuffer is big endian by default and can be changed using the order method. This is the mechanism you'd use to implement I/O that can handle either endian type. Regards, Thomas Hallgren