Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob-Data #50

Open
ChristophKe opened this issue Feb 26, 2023 · 2 comments
Open

Blob-Data #50

ChristophKe opened this issue Feb 26, 2023 · 2 comments

Comments

@ChristophKe
Copy link

Can you please provide an example for Blob-Data?

How to store and retrieve an Uint8List in and from medium blob column?
Regards,
Christoph

@ChristophKe
Copy link
Author

at the moment I am converting my uint8List to String to insert it and convert it back on loading...
This can´t be the way to do it, right?

before Insert/update:
String myBlobDataAsString = String.fromCharCodes(myUint8Data);

after select:
Uint8List myUint8Data = Uint8List.fromList(myBlobDataAsString.codeUnits);

@patricknicolosi
Copy link

Any update for this?

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

No branches or pull requests

2 participants