diff options
author | umi <57262844+umi-umi@users.noreply.github.com> | 2021-02-01 12:51:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 12:51:46 +0900 |
commit | 72f9c4c0d31d34de4876d0388b5b294f7572acd7 (patch) | |
tree | 1826d70e64dd69aa9aa620f6a0ac7bb65e5a7b82 /docs/ja/internals_sysex_tools.md | |
parent | 6bec7fb3fe7a9495b3a45f8145e9f3f830c72763 (diff) | |
download | qmk_firmware-72f9c4c0d31d34de4876d0388b5b294f7572acd7.tar.gz qmk_firmware-72f9c4c0d31d34de4876d0388b5b294f7572acd7.zip |
[Docs] Japanese translation of internals_*.md (#10316)
* add git checkout internals_related.md translation
* update based on comment
* unify the end of sentence
Diffstat (limited to 'docs/ja/internals_sysex_tools.md')
-rw-r--r-- | docs/ja/internals_sysex_tools.md | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/docs/ja/internals_sysex_tools.md b/docs/ja/internals_sysex_tools.md new file mode 100644 index 000000000..629b4f244 --- /dev/null +++ b/docs/ja/internals_sysex_tools.md | |||
@@ -0,0 +1,66 @@ | |||
1 | # `sysex_tools` グループ {#group__sysex__tools} | ||
2 | |||
3 | <!--- | ||
4 | original document: 0.10.9:docs/internals_sysex_tools.md | ||
5 | git diff 0.10.9 HEAD -- docs/internals_sysex_tools.md | cat | ||
6 | --> | ||
7 | |||
8 | ## 概要 | ||
9 | |||
10 | | メンバー | 説明 | ||
11 | --------------------------------|--------------------------------------------- | ||
12 | | `public uint16_t `[`sysex_encoded_length`](#group__sysex__tools_1ga061e5607030412d6e62e2390d8013f0a)`(uint16_t decoded_length)` | エンコード後のメッセージの長さを計算します。 | ||
13 | | `public uint16_t `[`sysex_decoded_length`](#group__sysex__tools_1ga121fc227d3acc1c0ea08c9a5c26fa3b0)`(uint16_t encoded_length)` | デコード後のメッセージの長さを計算します。 | ||
14 | | `public uint16_t `[`sysex_encode`](#group__sysex__tools_1ga54d77f8d32f92a6f329daefa2b314742)`(uint8_t * encoded,const uint8_t * source,uint16_t length)` | sysex メッセージで安全に送信できるようにデータをエンコードします。 | ||
15 | | `public uint16_t `[`sysex_decode`](#group__sysex__tools_1gaaad1d9ba2d5eca709a0ab4ba40662229)`(uint8_t * decoded,const uint8_t * source,uint16_t length)` | エンコードされたデータをデコードします。 | ||
16 | |||
17 | ## メンバー | ||
18 | |||
19 | #### `public uint16_t `[`sysex_encoded_length`](#group__sysex__tools_1ga061e5607030412d6e62e2390d8013f0a)`(uint16_t decoded_length)` {#group__sysex__tools_1ga061e5607030412d6e62e2390d8013f0a} | ||
20 | |||
21 | エンコード後のメッセージの長さを計算します。 | ||
22 | |||
23 | #### パラメータ | ||
24 | * `decoded_length` エンコードするメッセージの長さのバイト数。 | ||
25 | |||
26 | #### 返り値 | ||
27 | エンコード後のメッセージの長さのバイト数。 | ||
28 | |||
29 | #### `public uint16_t `[`sysex_decoded_length`](#group__sysex__tools_1ga121fc227d3acc1c0ea08c9a5c26fa3b0)`(uint16_t encoded_length)` {#group__sysex__tools_1ga121fc227d3acc1c0ea08c9a5c26fa3b0} | ||
30 | |||
31 | デコード後のメッセージの長さを計算します。 | ||
32 | |||
33 | #### パラメータ | ||
34 | * `encoded_length` エンコードされたメッセージの長さのバイト数。 | ||
35 | |||
36 | #### 返り値 | ||
37 | デコードされた後のメッセージの長さのバイト数。 | ||
38 | |||
39 | #### `public uint16_t `[`sysex_encode`](#group__sysex__tools_1ga54d77f8d32f92a6f329daefa2b314742)`(uint8_t * encoded,const uint8_t * source,uint16_t length)` {#group__sysex__tools_1ga54d77f8d32f92a6f329daefa2b314742} | ||
40 | |||
41 | sysex メッセージで安全に送信できるようにデータをエンコードします。 | ||
42 | |||
43 | #### パラメータ | ||
44 | * `encoded` 出力データバッファは、少なくとも sysex_encoded_length(length) バイトの長さが必要です。 | ||
45 | |||
46 | * `source` エンコードされるデータの入力バッファ。 | ||
47 | |||
48 | * `length` 入力バッファからエンコードするバイト数。 | ||
49 | |||
50 | #### 返り値 | ||
51 | エンコードされたバイト数。 | ||
52 | |||
53 | #### `public uint16_t `[`sysex_decode`](#group__sysex__tools_1gaaad1d9ba2d5eca709a0ab4ba40662229)`(uint8_t * decoded,const uint8_t * source,uint16_t length)` {#group__sysex__tools_1gaaad1d9ba2d5eca709a0ab4ba40662229} | ||
54 | |||
55 | エンコードされたデータをデコードします。 | ||
56 | |||
57 | #### パラメータ | ||
58 | * `decoded` 出力データバッファは、少なくとも sysex_decoded_length(length) バイトの長さが必要です。 | ||
59 | |||
60 | * `source` デコードされるデータの入力バッファ。 | ||
61 | |||
62 | * `length` 入力バッファからデコードするバイト数。 | ||
63 | |||
64 | #### 返り値 | ||
65 | デコードされたバイト数。 | ||
66 | |||