メッセージのデータ型

This section describes the base data types used in messages.

この章ではメッセージの中で使われる基本的なデータ型を記載します。

Intn(i)

An n bit integer in network byte order. If i is specified it is the literal value. Eg. Int16, Int32(42).

ネットワークでのバイトの並び順における n ビットの整数。もし i が指定されていれば それはリテラル値です。 例: Int16、Int32(42)

LimStringn(s)

A character array of exactly n bytes interpreted as a '\0' terminated string. The '\0' is omitted if there is insufficient room. If s is specified it is the literal value. Eg. LimString32, LimString64("user").

'\0' で終結した文字列として判断される、厳密に n バイトの文字配列。 十分な空きが無い場合 '\0' は省略されます。 もしも s が指定されていればそれは リテラル値です。 例: LimString32、LimString64(「user」)

String(s)

A conventional C '\0' terminated string with no length limitation. A frontend should always read the full string even though it may have to discard characters if its buffers aren't big enough.

長さに制限の無い従来の '\0' で終結した C 文字列。フロントエンド はバッファに余裕が無く文字を捨てなくてはならない場合でも常に全て の文字列を読むようにしなければなりません。

Note: Is 8193 bytes the largest allowed size?

8193バイトは最大限の許容サイズですか。

If s is specified it is the literal value. Eg. String, String("user"). もしも s が指定されれば、それは リテラル値です。 例: String、String(「user」)

Byten(c)

Exactly n bytes. If c is specified it is the literal value. Eg. Byte, Byte1('\n').

厳密に n バイト。 もしも c が指定されれば、それは リテラル値です。 例: Byte、Byte1('\n')