开发者

Send BitMap object (and some other strings) via POST to a server

开发者 https://www.devze.com 2023-03-28 06:02 出处:网络
how would i go about sending a BitMap objects (and some other strings, such as na开发者_开发技巧me = \"kevin\") to a server? Does anyone have any examples on how to do this?I assume that you mean an i

how would i go about sending a BitMap objects (and some other strings, such as na开发者_开发技巧me = "kevin") to a server? Does anyone have any examples on how to do this?


I assume that you mean an image in bitmap format.

Just encode the bytes with Base64Encoder and pass it as just another POST parameter, and use Base64Decoder to get the original contents back.

0

精彩评论

暂无评论...
验证码 换一张
取 消