data | セクションのデータペイロード(ヘッダ部分をのぞいたデータ本体) |
Unnamed で Content-Type
ヘッダー無しの RAW データセクション
ファイル名や Content-Type
セクションヘッダーは含みません。
name | セクションネーム |
data | セクションのデータペイロード(ヘッダ部分をのぞいたデータ本体) |
セクション名で Content-Type
ヘッダー無しの RAW データセクション
前のコンストラクターと同じですが、セクションネームを含んでいます。
name | セクションネーム |
data | セクションのデータペイロード(ヘッダ部分をのぞいたデータ本体) |
contentType | セクションの Content-Type ヘッダーのための値 |
セクション名と Content-Type
ヘッダーと一緒の RAW データセクション
name | セクションネーム |
data | セクションの文字列データペイロード |
contentType | セクションの Content-Type ヘッダーのための値 |
encoding |
Data へ、あるいは RAW バイトデータからマーシャリングするエンコーディング |
ペイロードが Content-Type
ヘッダー文字列から派生したネームド RAW データセクション
data
は encoding
を使用して RAW バイトデータにエンコードされます。
name | セクションネーム |
data | セクションの文字列データペイロード |
contentType | Content Type |
ペイロードが Content-Type
ヘッダーと UTF8 文字列から派生したネームド RAW データセクション
カスタムの Content-Type
ヘッダーと UTF8 文字列についてこのコンストラクターを使用します。 data
は UTF8 エンコーディングであると見なされ、RAW バイトデータに適切に変換されます。
name | セクションネーム |
data | セクションの文字列データペイロード |
ペイロードがデフォルトの Content-Type
と UTF8 文字列から派生したネームド RAW データセクション
UTF8 文字列はこのコンストラクターを使用します。 data
は UTF8 エンコーディングであるとみなされ適切に変換されます。セクションには text/plain; encoding=utf8
の Content-Type
が割り当てられます。
data | セクションの文字列データペイロード |
ペイロードがデフォルトの Content-Type
と UTF8 文字列から派生したアノニマス RAW データセクション
上記と同じですが、セクションネームがありません。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.