Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

MemoField "public void put(byte inBytes[])" does not work. #2

Open
michael-newsrx opened this issue Oct 4, 2016 · 1 comment
Open

Comments

@michael-newsrx
Copy link
Collaborator

MemoField "public void put(byte inBytes[])" does not work.

Caused by: Codes ASSUMES "value" and not the "byteValue" contains the value.
Does not look like a simple fix - the per DBT implementations do the actual CharSet to byte conversions, not the field which holds the bytes value array. In fact, at a brief glance, I'm not sure bytes value is used at all, and is definitely not encoded into the desired codepage.

@michael-newsrx
Copy link
Collaborator Author

Temporary fix:
Patched code with a "@deprecated" on the direct byte[] functions on MemoField to warn any unsuspecting user of this.

Commit 17b6156

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant