Chris
Is the value of the cf.getPath() equal to ef_BEEB? if so then probably its the length,
otherwise, you are using the wrong address for your read.
regards,
Harley
8/6/01 1:52:33 PM, "Kesik, Chris" <[EMAIL PROTECTED]> wrote:
>
>Any insights?
>
>I am writing a 20 byte file to the GPK8000 card using the OFC. When I read
>it back I get a totally different set of bytes. One would think that I am
>not writing the data correctly, but, looking in GPKPilot I see the correct
>data in the file. Anyone seen this before?
>
>The code I am using is.
>
> bytes = "44444444445555555555".getBytes();
> fus.update(cf.getPath(), 0, bytes, 0, bytes.length);
>
> byte verify[] = fus.read(ef_BEEB, 0, bytes.length);
>
>
>
>
>---
>> 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.
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---
> 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.