Hello Laurent,

ok, i apparently miss the scope of the question.

btw, can i actually allocate an array as large as the free memory ... or up 
to 32767 bytes ? (assuming E�PROM is larger than 32ko) - meaning does int 
type supported as parameter of new operator ?

Sylvain.


At 10:14 04/12/00 +0100, Laurent Jutard wrote:
>Hello Sylvain,
>
>You can allocate a byte array as large than the free memory.
>253 is the max size that you can send to the card in one APDU. If you want
>to update a byte array larger than 253 bytes, you have to proceed in several
>APDU.
>
>Cheers.
>Laurent.
>
> >-----Original Message-----
> >From: Sylvain Ferey [mailto:[EMAIL PROTECTED]]
> >Sent: Saturday, December 02, 2000 1:25 AM
> >To: Laurent Jutard
> >Cc: [EMAIL PROTECTED]
> >Subject: [OCF] Memory Allocation (was: Error read strings)
> >
> >
> >Hello Laurent,
> >
> >in a recent reply to Laurent J. you note:
> >
> > >>
> >Finally, if it is a problem of memory, I suggest that your applet could
> >>allocate n byte arrays of 253 bytes (limit max for a GCR410
> >and where n is
> >>the max numbers of strings to store)  in the constructor and
> >always use
> >>thoses byte buffers to store the string. Use a Length Value
> >format to read
> >>or store the string.
> ><<
> >
> >what means "limit max", does it stand for "it's not possible
> >to allocate a
> >byte array larger than 253 bytes" ??
> >
> >Sylvain.



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe
! in the body.

Reply via email to