From: thomas at tada.se (Thomas Hallgren) Date: Fri, 22 Sep 2006 10:17:27 +0200 Subject: [Pljava-dev] readBytes() / writeBytes() In-Reply-To: <4512F5E4.9060600@logix-tt.com> References: <4512F5E4.9060600@logix-tt.com> Message-ID: <45139C17.3050006@tada.se> Markus Schaber wrote: > Hi, > > I just stumbled about the readBytes() / writeBytes() methods from > SQLInputFromChunk / SQLOutputFromChunk classes. > > They seem to assume that every array has a 2-byte length header. > Those classes are part of the JNI interface. They map to the internal PostgreSQL StringInfo structure. They are *not* intended for any other use. Kind Regards, Thomas Hallgren