英文:
How can I encode and decode an image for use with the Hedera file service?
问题
我想将图像存储在Hedera文件服务上,但我不知道如何入门。我不知道应该如何编码我的图像以及如何解码它。文档非常模糊,没有提及任何形式的数据类型、数据结构或编码,除了utf-8。请注意,我对文件和数据编码几乎没有经验。
英文:
I want to store images on the Hedera file service but I have no idea on how to get started. I don't know how I should encode my image and how to decode it. The documentation is extremely vague and does mention any form of data types, data structures or encoding except utf-8.
Please note that I have very little experience with file and data encoding overall.
答案1
得分: 0
你可以使用字节数组,这是标准的方法。
英文:
You can use byte arrays, this is the standard way.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论