[Pljava-dev] readBytes() / writeBytes()

From: schabi at logix-tt(dot)com (Markus Schaber)
To:
Subject: [Pljava-dev] readBytes() / writeBytes()
Date: 2006-09-22 16:10:37
Message-ID: 45140AFD.9070500@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi, Thomas,

Thomas Hallgren wrote:

> A good compromise is perhaps to to introduce the check that you suggest
> but also allow the length to be zero? That way you will always need to
> write the length and if it's not known at that time, you just write zero
> and PL/Java will assign it once you're done writing.

Yes, that sounds good. In that case, we should make the check mandatory,
and throw an exception when an explicit size is mismatching.

Thanks,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20060922/e183515e/attachment.bin>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2006-09-22 20:56:11 [Pljava-dev] Patch for SQLOutput implementation
Previous Message Markus Schaber 2006-09-22 16:07:45 [Pljava-dev] Patch for SQLOutput implementation