Sergio:
Sorry, I got you confused. The example I send is rather bad example
pertaining to the subject. But in essence, the applet should call
receiveBytes() repeatedly, *processing or moving* the bytes in the
APDU data buffer with each call, until all available data are read.
Regards,
-Mayank
> Delivered-To: [EMAIL PROTECTED]
> Old-Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Date: Tue, 3 Apr 2001 13:49:51 -0400 (EDT)
> From: Sergio Lopez <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: [OCF] how to use it correctly?
> Cc: [EMAIL PROTECTED]
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Originating-IP: 212.120.155.66
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-From: [EMAIL PROTECTED]
> X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/2262
> X-Loop: [EMAIL PROTECTED]
> Resent-Sender: [EMAIL PROTECTED]
> Resent-Date: Tue, 3 Apr 2001 19:50:09 +0200 (CEST)
>
> Mayank:
>
> You wrote:
>
> >In other words you would;
>
> > Util.arrayCopyNonAtomic(apduBuffer, >ISO7816.OFFSET_CDATA, apduBuffer,
> >(byte)0, bytesRead);
>
> Sorry, but I do not quite understand what is the reason to copy elements of
> the apduBuffer in other place of the SAME ARRAY - apduBuffer?
>
> Great thanks.
>
> Regards,
> Sergio
>
>
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
>
> ---
> > 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.
---
> 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.