GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-docs-ja/library/base64.po at 3.12 · python/python-docs-ja Expand file tree/ Copy pathbase64.poMore file actions 600 lines (529 loc) · 25.7 KB / Copy pathbase64.poFile metadata and controls600 lines (529 loc) · 25.7 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 # SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # # Translators: # Inada Naoki <[email protected]>, 2023 # Nozomu Kaneko <[email protected]>, 2023 # tomo, 2023 # Arihiro TAKASE, 2023 # 石井明久, 2024 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-05-23 14:20+0000\n" "PO-Revision-Date: 2021-06-28 00:55+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" "ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../library/base64.rst:2 msgid ":mod:`!base64` --- Base16, Base32, Base64, Base85 Data Encodings" msgstr ":mod:`!base64` --- Base16, Base32, Base64, Base85 データのエンコード" #: ../../library/base64.rst:8 msgid "**Source code:** :source:`Lib/base64.py`" msgstr "**ソースコード:** :source:`Lib/base64.py`" #: ../../library/base64.rst:16 msgid "" "This module provides functions for encoding binary data to printable ASCII " "characters and decoding such encodings back to binary data. This includes " "the :ref:`encodings specified in <base64-rfc-4648>` :rfc:`4648` (Base64, " "Base32 and Base16) and the non-standard :ref:`Base85 encodings <base64-" "base-85>`." msgstr "" "このモジュールは、バイナリデータを印刷可能なASCII文字列にエンコード、及びデ" "コードするための関数を提供しています。:rfc:`4648` に :ref:`定義されているエン" "コーディング <base64-rfc-4648>` (Base64、Base32、Base16)に加えて標準ではな" "い :ref:`Base 85 <base64-base-85>` をサポートしています。" #: ../../library/base64.rst:22 msgid "" "There are two interfaces provided by this module. The modern interface " "supports encoding :term:`bytes-like objects <bytes-like object>` to ASCII :" "class:`bytes`, and decoding :term:`bytes-like objects <bytes-like object>` " "or strings containing ASCII to :class:`bytes`. Both base-64 alphabets " "defined in :rfc:`4648` (normal, and URL- and filesystem-safe) are supported." msgstr "" "このモジュールは、2つのインターフェースを提供します。このモダンなインター" "フェースは、:term:`bytes-like object` を ASCII :class:`bytes` にエンコード" "し、:term:`bytes-like object` か ASCII 文字列を、:class:`bytes` にデコードす" "ることができます。:rfc:`4648` に定義されている base-64 アルファベット (一般" "の、URL あるいはファイルシステムセーフなもの) の両方が使用できます。" #: ../../library/base64.rst:28 msgid "" "The :ref:`legacy interface <base64-legacy>` does not support decoding from " "strings, but it does provide functions for encoding and decoding to and " "from :term:`file objects <file object>`. It only supports the Base64 " "standard alphabet, and it adds newlines every 76 characters as per :rfc:" "`2045`. Note that if you are looking for :rfc:`2045` support you probably " "want to be looking at the :mod:`email` package instead." msgstr "" ":ref:`従来のインターフェース <base64-legacy>` は文字列からのデコードができま" "せんが、:term:`file object <file object>` との間のエンコードとデコードが可能" "な関数を提供します。これは標準の base64 アルファベットのみをサポートし、:rfc:" "`2045` の規定にあるように、76文字ごとに改行されます。:rfc:`2045` のサポートの" "ためには、代わりに :mod:`email` パッケージを参照する必要があるかもしれませ" "ん。" #: ../../library/base64.rst:36 msgid "" "ASCII-only Unicode strings are now accepted by the decoding functions of the " "modern interface." msgstr "" "モダンなインターフェイスのデコード関数が ASCII のみの Unicode 文字列を受け付" "けるようになりました。" #: ../../library/base64.rst:40 msgid "" "Any :term:`bytes-like objects <bytes-like object>` are now accepted by all " "encoding and decoding functions in this module. Ascii85/Base85 support " "added." msgstr "" "このモジュールのすべてのエンコード・デコード関数が任意の :term:`bytes-like オ" "ブジェクト <bytes-like object>` を受け取るようになりました。Ascii85/Base85 の" "サポートが追加されました。" #: ../../library/base64.rst:48 msgid "RFC 4648 Encodings" msgstr "RFC 4648 エンコーディング" #: ../../library/base64.rst:50 msgid "" "The :rfc:`4648` encodings are suitable for encoding binary data so that it " "can be safely sent by email, used as parts of URLs, or included as part of " "an HTTP POST request." msgstr "" ":rfc:`4648` エンコーディングは、email で安全に送信したり、 URL の一部として" "使ったり、あるいは HTTP POST リクエストの一部に含めるために用いるのに適してい" "ます。" #: ../../library/base64.rst:56 msgid "" "Encode the :term:`bytes-like object` *s* using Base64 and return the " "encoded :class:`bytes`." msgstr "" "Base64 を使って :term:`bytes-like object` の *s* をエンコードし、エンコードさ" "れた :class:`bytes` を返します。" #: ../../library/base64.rst:59 msgid "" "Optional *altchars* must be a :term:`bytes-like object` of length 2 which " "specifies an alternative alphabet for the ``+`` and ``/`` characters. This " "allows an application to e.g. generate URL or filesystem safe Base64 " "strings. The default is ``None``, for which the standard Base64 alphabet is " "used." msgstr "" "オプション引数 *altchars* は長さ 2 の :term:`bytes-like object` で 、``+`` " "と ``/`` の代わりに使われる代替アルファベットを指定します。これにより、アプリ" "ケーションはたとえば URL やファイルシステムの影響を受けない Base64 文字列を生" "成できます。デフォルトは ``None`` で、標準の Base64 アルファベットが使われま" "す。" #: ../../library/base64.rst:64 msgid "" "May assert or raise a :exc:`ValueError` if the length of *altchars* is not " "2. Raises a :exc:`TypeError` if *altchars* is not a :term:`bytes-like " "object`." msgstr "" "*altchars* の長さが2でない場合は、 assert または :exc:`ValueError` が発生しま" "す。 *altchars* が :term:`bytes-like object` でない場合は、 :exc:`TypeError` " "が発生します。" #: ../../library/base64.rst:70 msgid "" "Decode the Base64 encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`." msgstr "" "Base64 エンコードされた :term:`bytes-like object` または ASCII 文字列 *s* を" "デコードし、デコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:73 msgid "" "Optional *altchars* must be a :term:`bytes-like object` or ASCII string of " "length 2 which specifies the alternative alphabet used instead of the ``+`` " "and ``/`` characters." msgstr "" "オプション引数の *altchars* は長さ 2 の :term:`bytes-like object` または " "ASCII 文字列で、``+`` と ``/`` の代わりに使われる代替アルファベットを指定しま" "す。" #: ../../library/base64.rst:77 msgid "" "A :exc:`binascii.Error` exception is raised if *s* is incorrectly padded." msgstr "" "*s* が正しくパディングされていない場合は :exc:`binascii.Error` 例外を発生させ" "ます。" #: ../../library/base64.rst:80 msgid "" "If *validate* is ``False`` (the default), characters that are neither in the " "normal base-64 alphabet nor the alternative alphabet are discarded prior to " "the padding check. If *validate* is ``True``, these non-alphabet characters " "in the input result in a :exc:`binascii.Error`." msgstr "" "*validate* が ``False`` (デフォルト) の場合、標準の base64 アルファベットでも" "代替文字でもない文字はパディングチェックの前に無視されます。 *validate* が " "``True`` の場合、入力に base64 アルファベット以外の文字があると :exc:" "`binascii.Error` を発生させます。" #: ../../library/base64.rst:86 msgid "" "For more information about the strict base64 check, see :func:`binascii." "a2b_base64`" msgstr "" "厳密な base64 チェックのについての詳細は :func:`binascii.a2b_base64` を参照し" "てください" #: ../../library/base64.rst:88 msgid "" "May assert or raise a :exc:`ValueError` if the length of *altchars* is not 2." msgstr "" "*altchars* の長さが2でない場合は、 assert または:exc:`ValueError`が発生しま" "す。" #: ../../library/base64.rst:92 msgid "" "Encode :term:`bytes-like object` *s* using the standard Base64 alphabet and " "return the encoded :class:`bytes`." msgstr "" "標準の base64 アルファベットを使用して :term:`bytes-like object` の *s* をエ" "ンコードし、エンコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:98 msgid "" "Decode :term:`bytes-like object` or ASCII string *s* using the standard " "Base64 alphabet and return the decoded :class:`bytes`." msgstr "" "標準の base64 アルファベットを使用した :term:`bytes-like object` または " "ASCII 文字列 *s* をデコードし、デコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:104 msgid "" "Encode :term:`bytes-like object` *s* using the URL- and filesystem-safe " "alphabet, which substitutes ``-`` instead of ``+`` and ``_`` instead of ``/" "`` in the standard Base64 alphabet, and return the encoded :class:`bytes`. " "The result can still contain ``=``." msgstr "" ":term:`bytes-like object` *s* を URLとファイルシステムセーフなアルファベット" "を利用してエンコードし、エンコードされた :class:`bytes` を返します。標準 " "base64 アルファベットに比べて、``+`` の替わりに ``-`` を、``/`` の替わりに " "``_`` を利用します。結果は ``=`` を含みます。 " #: ../../library/base64.rst:113 msgid "" "Decode :term:`bytes-like object` or ASCII string *s* using the URL- and " "filesystem-safe alphabet, which substitutes ``-`` instead of ``+`` and ``_`` " "instead of ``/`` in the standard Base64 alphabet, and return the decoded :" "class:`bytes`." msgstr "" ":term:`bytes-like object` または ASCII 文字列 *s* を URLとファイルシステム" "セーフなアルファベットを利用してデコードし、デコードされた :class:`bytes` を" "返します。標準 base64 アルファベットに比べて、``+`` の替わりに ``-`` を、``/" "`` の替わりに ``_`` を置換します。" #: ../../library/base64.rst:122 msgid "" "Encode the :term:`bytes-like object` *s* using Base32 and return the " "encoded :class:`bytes`." msgstr "" "Base32 を使って :term:`bytes-like object` の *s* をエンコードし、エンコードさ" "れた :class:`bytes` を返します。" #: ../../library/base64.rst:128 msgid "" "Decode the Base32 encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`." msgstr "" "Base32 エンコードされた :term:`bytes-like object` または ASCII 文字列 *s* を" "デコードし、デコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:131 ../../library/base64.rst:179 msgid "" "Optional *casefold* is a flag specifying whether a lowercase alphabet is " "acceptable as input. For security purposes, the default is ``False``." msgstr "" "オプション引数 *casefold* は小文字のアルファベットを受けつけるかどうかを指定" "します。セキュリティ上の理由により、デフォルトではこれは ``False`` になってい" "ます。" #: ../../library/base64.rst:135 msgid "" ":rfc:`4648` allows for optional mapping of the digit 0 (zero) to the letter " "O (oh), and for optional mapping of the digit 1 (one) to either the letter I " "(eye) or letter L (el). The optional argument *map01* when not ``None``, " "specifies which letter the digit 1 should be mapped to (when *map01* is not " "``None``, the digit 0 is always mapped to the letter O). For security " "purposes the default is ``None``, so that 0 and 1 are not allowed in the " "input." msgstr "" ":rfc:`4648` は付加的なマッピングとして、数字の 0 (零) をアルファベットの O " "(オー) に、数字の 1 (壱) をアルファベットの I (アイ) または L (エル) に対応さ" "せることを許しています。オプション引数は *map01* は、 ``None`` でないときは、" "数字の 1 をどの文字に対応づけるかを指定します (*map01* が ``None`` でないと" "き、数字の 0 はつねにアルファベットの O (オー) に対応づけられます)。セキュリ" "ティ上の理由により、これはデフォルトでは ``None`` になっているため、 0 およ" "び 1 は入力として許可されていません。" #: ../../library/base64.rst:142 ../../library/base64.rst:183 msgid "" "A :exc:`binascii.Error` is raised if *s* is incorrectly padded or if there " "are non-alphabet characters present in the input." msgstr "" "*s* が正しくパディングされていない場合や、入力にアルファベットでない文字が含" "まれていた場合に、 :exc:`binascii.Error` 例外を発生させます。" #: ../../library/base64.rst:149 msgid "" "Similar to :func:`b32encode` but uses the Extended Hex Alphabet, as defined " "in :rfc:`4648`." msgstr "" ":func:`b32encode`に似ていますが、:rfc:`4648`で定義されているようにExtended " "Hex Alphabetを使用します。" #: ../../library/base64.rst:157 msgid "" "Similar to :func:`b32decode` but uses the Extended Hex Alphabet, as defined " "in :rfc:`4648`." msgstr "" ":func:`b32decode`に似ていますが、:rfc:`4648`で定義されているようにExtended " "Hex Alphabetを使用します。" #: ../../library/base64.rst:160 msgid "" "This version does not allow the digit 0 (zero) to the letter O (oh) and " "digit 1 (one) to either the letter I (eye) or letter L (el) mappings, all " "these characters are included in the Extended Hex Alphabet and are not " "interchangeable." msgstr "" #: ../../library/base64.rst:170 msgid "" "Encode the :term:`bytes-like object` *s* using Base16 and return the " "encoded :class:`bytes`." msgstr "" "Base16 を使って :term:`bytes-like object` の *s* をエンコードし、エンコードさ" "れた :class:`bytes` を返します。" #: ../../library/base64.rst:176 msgid "" "Decode the Base16 encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`." msgstr "" "Base16 エンコードされた :term:`bytes-like object` または ASCII 文字列 *s* を" "デコードし、デコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:190 msgid "Base85 Encodings" msgstr "Base85 エンコーディング" #: ../../library/base64.rst:192 msgid "" "Base85 encoding is not formally specified but rather a de facto standard, " "thus different systems perform the encoding differently." msgstr "" #: ../../library/base64.rst:195 msgid "" "The :func:`a85encode` and :func:`b85encode` functions in this module are two " "implementations of the de facto standard. You should call the function with " "the Base85 implementation used by the software you intend to work with." msgstr "" #: ../../library/base64.rst:199 msgid "" "The two functions present in this module differ in how they handle the " "following:" msgstr "" #: ../../library/base64.rst:201 msgid "Whether to include enclosing ``<~`` and ``~>`` markers" msgstr "" #: ../../library/base64.rst:202 msgid "Whether to include newline characters" msgstr "" #: ../../library/base64.rst:203 msgid "The set of ASCII characters used for encoding" msgstr "" #: ../../library/base64.rst:204 msgid "Handling of null bytes" msgstr "" #: ../../library/base64.rst:206 msgid "" "Refer to the documentation of the individual functions for more information." msgstr "" #: ../../library/base64.rst:210 msgid "" "Encode the :term:`bytes-like object` *b* using Ascii85 and return the " "encoded :class:`bytes`." msgstr "" "Ascii85 を使って :term:`bytes-like object` の *b* をエンコードし、エンコード" "された :class:`bytes` を返します。 " #: ../../library/base64.rst:213 msgid "" "*foldspaces* is an optional flag that uses the special short sequence 'y' " "instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This " "feature is not supported by the \"standard\" Ascii85 encoding." msgstr "" "*foldspaces* を使うと、4 つの連続した空白文字(ASCII 0x20)を 'btoa' によってサ" "ポートされている短い特殊文字 'y' に置き換えます。この機能は \"標準\" Ascii85 " "ではサポートされていません。" #: ../../library/base64.rst:217 msgid "" "*wrapcol* controls whether the output should have newline (``b'\\n'``) " "characters added to it. If this is non-zero, each output line will be at " "most this many characters long, excluding the trailing newline." msgstr "" #: ../../library/base64.rst:221 msgid "" "*pad* controls whether the input is padded to a multiple of 4 before " "encoding. Note that the ``btoa`` implementation always pads." msgstr "" "*pad* を指定すると、エンコード前に入力が 4 の倍数になるようにパディングされま" "す。なお、 ``btoa`` の実装は常にパディングします。" #: ../../library/base64.rst:224 msgid "" "*adobe* controls whether the encoded byte sequence is framed with ``<~`` and " "``~>``, which is used by the Adobe implementation." msgstr "" "*adobe* を指定すると、エンコードしたバイトシーケンスを ``<~`` と ``~>`` で囲" "みます。これは Adobe の実装で使われています。" #: ../../library/base64.rst:232 msgid "" "Decode the Ascii85 encoded :term:`bytes-like object` or ASCII string *b* and " "return the decoded :class:`bytes`." msgstr "" "Ascii85 エンコードされた :term:`bytes-like object` または ASCII 文字列 *b* を" "デコードし、デコードされた :class:`bytes` を返します。 " #: ../../library/base64.rst:235 msgid "" "*foldspaces* is a flag that specifies whether the 'y' short sequence should " "be accepted as shorthand for 4 consecutive spaces (ASCII 0x20). This feature " "is not supported by the \"standard\" Ascii85 encoding." msgstr "" "*foldspaces* は、短い特殊文字 'y' を受け取って 4 つの連続した空白文字(ASCII " "0x20)と解釈するかどうかを制御します。この機能は \"標準\" Ascii85 ではサポート" "されていません。" #: ../../library/base64.rst:239 msgid "" "*adobe* controls whether the input sequence is in Adobe Ascii85 format (i.e. " "is framed with <~ and ~>)." msgstr "" "*adobe* で、入力シーケンスが Adobe Ascii85 (つまり ``<~`` と ``~>`` で囲まれ" "ている)かどうかを伝えます。" #: ../../library/base64.rst:242 msgid "" "*ignorechars* should be a :term:`bytes-like object` or ASCII string " "containing characters to ignore from the input. This should only contain " "whitespace characters, and by default contains all whitespace characters in " "ASCII." msgstr "" "*ignorechars* には、入力に含まれていれば無視する文字で構成された :term:" "`bytes-like object` または ASCII 文字列を指定してください。これは空白文字だけ" "で構成されているべきです。デフォルトは ASCII における空白文字全てです。" #: ../../library/base64.rst:252 msgid "" "Encode the :term:`bytes-like object` *b* using base85 (as used in e.g. git-" "style binary diffs) and return the encoded :class:`bytes`." msgstr "" "base85 (これは例えば git スタイルのバイナリ diff で用いられています) を使っ" "て :term:`bytes-like object` の *b* をエンコードし、エンコードされた :class:" "`bytes` を返します。" #: ../../library/base64.rst:255 msgid "" "If *pad* is true, the input is padded with ``b'\\0'`` so its length is a " "multiple of 4 bytes before encoding." msgstr "" "*pad* が真ならば、エンコードに先立って、バイト数が 4 の倍数となるように入力" "が ``b'\\0'`` でパディングされます。" #: ../../library/base64.rst:263 msgid "" "Decode the base85-encoded :term:`bytes-like object` or ASCII string *b* and " "return the decoded :class:`bytes`. Padding is implicitly removed, if " "necessary." msgstr "" "base85でエンコードされた :term:`bytes-like object` または ASCII 文字列の " "*b* をデコードし、デコードされた :class:`bytes` を返します。パディングは、も" "しあれば、暗黙に削除されます。" #: ../../library/base64.rst:272 msgid "" "Encode the :term:`bytes-like object` *s* using Z85 (as used in ZeroMQ) and " "return the encoded :class:`bytes`. See `Z85 specification <https://rfc." "zeromq.org/spec/32/>`_ for more information." msgstr "" #: ../../library/base64.rst:281 msgid "" "Decode the Z85-encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`. See `Z85 specification <https://rfc." "zeromq.org/spec/32/>`_ for more information." msgstr "" #: ../../library/base64.rst:291 msgid "Legacy Interface" msgstr "レガシーインターフェース" #: ../../library/base64.rst:295 msgid "" "Decode the contents of the binary *input* file and write the resulting " "binary data to the *output* file. *input* and *output* must be :term:`file " "objects <file object>`. *input* will be read until ``input.readline()`` " "returns an empty bytes object." msgstr "" "*input* ファイルの中身をデコードし、結果のバイナリデータを *output* ファイル" "に出力します。 *input* 、 *output* ともに :term:`file objects <file " "object>` でなければなりません。 *input* は ``input.readline()`` が空バイト列" "を返すまで読まれます。" #: ../../library/base64.rst:303 msgid "" "Decode the :term:`bytes-like object` *s*, which must contain one or more " "lines of base64 encoded data, and return the decoded :class:`bytes`." msgstr "" ":term:`bytes-like object` *s* をデコードし、デコードされた :class:`bytes` を" "返します。 *s* には一行以上の base64 形式でエンコードされたデータが含まれてい" "る必要があります。" #: ../../library/base64.rst:311 msgid "" "Encode the contents of the binary *input* file and write the resulting " "base64 encoded data to the *output* file. *input* and *output* must be :term:" "`file objects <file object>`. *input* will be read until ``input.read()`` " "returns an empty bytes object. :func:`encode` inserts a newline character " "(``b'\\n'``) after every 76 bytes of the output, as well as ensuring that " "the output always ends with a newline, as per :rfc:`2045` (MIME)." msgstr "" "バイナリの *input* ファイルの中身を base64 形式でエンコードした結果を " "*output* ファイルに出力します。 *input* 、 *output* ともに :term:`file " "objects <file object>` でなければなりません。 *input* は ``input.read()`` が" "空バイト列を返すまで読まれます。 :func:`encode` は76バイトの出力ごとに改行文" "字(``b'\\n'``)を挿入し、:rfc:`2045` (MIME) の規定にあるように常に出力が新しい" "行で終わることを保証します。" #: ../../library/base64.rst:321 msgid "" "Encode the :term:`bytes-like object` *s*, which can contain arbitrary binary " "data, and return :class:`bytes` containing the base64-encoded data, with " "newlines (``b'\\n'``) inserted after every 76 bytes of output, and ensuring " "that there is a trailing newline, as per :rfc:`2045` (MIME)." msgstr "" ":term:`bytes-like object` *s* (任意のバイナリデータを含むことができます) " "を、:rfc:`2045` (MIME) に規定されるように末尾に新しい行のある、76バイトの出力" "ごとに新しい行 (``b'\\n'``) が挿入された、base64 形式でエンコードしたデータを" "含む :class:`bytes` を返します。" #: ../../library/base64.rst:329 msgid "An example usage of the module:" msgstr "モジュールの使用例:" #: ../../library/base64.rst:342 msgid "Security Considerations" msgstr "セキュリティで考慮すべき点" #: ../../library/base64.rst:344 msgid "" "A new security considerations section was added to :rfc:`4648` (section 12); " "it's recommended to review the security section for any code deployed to " "production." msgstr "" #: ../../library/base64.rst:349 msgid "Module :mod:`binascii`" msgstr "モジュール :mod:`binascii`" #: ../../library/base64.rst:350 msgid "" "Support module containing ASCII-to-binary and binary-to-ASCII conversions." msgstr "" "ASCII からバイナリへ、バイナリから ASCII への変換をサポートするモジュール。" #: ../../library/base64.rst:352 msgid "" ":rfc:`1521` - MIME (Multipurpose Internet Mail Extensions) Part One: " "Mechanisms for Specifying and Describing the Format of Internet Message " "Bodies" msgstr "" ":rfc:`1521` - MIME (Multipurpose Internet Mail Extensions) Part One: " "Mechanisms for Specifying and Describing the Format of Internet Message " "Bodies" #: ../../library/base64.rst:353 msgid "" "Section 5.2, \"Base64 Content-Transfer-Encoding,\" provides the definition " "of the base64 encoding." msgstr "" "Section 5.2, \"Base64 Content-Transfer-Encoding,\" provides the definition " "of the base64 encoding." #: ../../library/base64.rst:10 msgid "base64" msgstr "base64" #: ../../library/base64.rst:10 msgid "encoding" msgstr "encoding" #: ../../library/base64.rst:10 msgid "MIME" msgstr "MIME" #: ../../library/base64.rst:10 msgid "base64 encoding" msgstr "base64 encoding" |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |