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.14 · python/python-docs-ja Expand file tree/ Copy pathbase64.poMore file actions 804 lines (705 loc) · 37.1 KB / Copy pathbase64.poFile metadata and controls804 lines (705 loc) · 37.1 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 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 # 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: # python-doc bot, 2025 # Yukiaya Suenaga, 2026 # Takanori Suzuki <[email protected]>, 2026 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-10-01 19:07+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: Takanori Suzuki <[email protected]>, 2026\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`" 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), the :ref:`Base85 encoding <base64-base-85>` specified in " "`PDF 2.0 <https://pdfa.org/resource/iso-32000-2/>`_, and non-standard " "variants of Base85 used elsewhere." msgstr "" "このモジュールは、バイナリデータを表示可能な ASCII 文字にエンコードし、エン" "コードされたデータをバイナリデータに戻す関数を提供します。\n" ":rfc:`4648` で :ref:`規定されているエンコーディング <base64-rfc-4648>` " "(Base64、Base32、Base16)、`PDF 2.0 <https://pdfa.org/resource/iso-32000-2/" ">`_ で規定されている :ref:`Base85 エンコーディング <base64-base-85>`、その他" "の場所で使われる Base85 の非標準の変種を含みます。" #: ../../library/base64.rst:24 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:30 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:38 msgid "" "ASCII-only Unicode strings are now accepted by the decoding functions of the " "modern interface." msgstr "" "モダンなインターフェイスのデコード関数が ASCII のみの Unicode 文字列を受け付" "けるようになりました。" #: ../../library/base64.rst:42 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:50 msgid "RFC 4648 Encodings" msgstr "RFC 4648 エンコーディング" #: ../../library/base64.rst:52 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:58 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:61 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 アルファベットが使われま" "す。" msgid "" "If *padded* is true (default), pad the encoded data with the '=' character " "to a size multiple of 4. If *padded* is false, do not add the pad characters." msgstr "" "*padded* が真 (デフォルト) の場合、エンコードしたデータの長さが 4 の倍数にな" "るように '=' でパディングします。\n" "*padded* が偽の場合、パディング文字を追加しません。" msgid "" "If *wrapcol* is non-zero, insert a newline (``b'\\n'``) character after at " "most every *wrapcol* characters. If *wrapcol* is zero (default), do not " "insert any newlines." msgstr "" "*wrapcol* がゼロでない場合、最大 *wrapcol* 文字ごとに改行文字 (``b'\\n'``) を" "挿入します。\n" "*wrapcol* がゼロ (デフォルト) の場合、改行を挿入しません。" msgid "Added the *padded* and *wrapcol* parameters." msgstr "*padded* と *wrapcol* パラメーターが追加されました。" #: ../../library/base64.rst:81 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:84 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 文字列で、``+`` と ``/`` の代わりに使われる代替アルファベットを指定しま" "す。" msgid "" "If *padded* is true, the last group of 4 base 64 alphabet characters must be " "padded with the '=' character. If *padded* is false, padding is neither " "required nor recognized: the '=' character is not treated as padding but as " "a non-alphabet character, which means it is silently discarded when " "*validate* is false, or causes an :exc:`~binascii.Error` when *validate* is " "true unless b'=' is included in *ignorechars*." msgstr "" "*padded* が真の場合、Base64 アルファベットの最後の 4 文字の組には '=' による" "パディングが必要です。\n" "*padded* が偽の場合、パディングは不要で、パディングとしての認識もしません。\n" "'=' はパディングではなくアルファベット外の文字として扱われるため、*validate* " "が偽なら黙って破棄されます。\n" "*validate* が真なら、*ignorechars* に ``b'='`` が含まれていない限" "り :exc:`~binascii.Error` が発生します。" #: ../../library/base64.rst:96 msgid "" "A :exc:`binascii.Error` exception is raised if *s* is incorrectly padded." msgstr "" "*s* が正しくパディングされていない場合は :exc:`binascii.Error` 例外を発生させ" "ます。" msgid "" "If *ignorechars* is specified, it should be a :term:`bytes-like object` " "containing characters to ignore from the input when *validate* is true. If " "*ignorechars* contains the pad character ``'='``, the pad characters " "presented before the end of the encoded data and the excess pad characters " "will be ignored. The default value of *validate* is ``True`` if " "*ignorechars* is specified, ``False`` otherwise." msgstr "" "*ignorechars* を指定する場合は、*validate* が真のときに入力から無視する文字を" "含む :term:`bytes-like object` を渡してください。\n" "*ignorechars* にパディング文字 ``'='`` を含めると、エンコードされたデータの末" "尾より前に現れるパディング文字や、余分なパディング文字を無視します。\n" "*validate* のデフォルト値は、*ignorechars* を指定した場合は ``True``、それ以" "外は ``False`` です。" #: ../../library/base64.rst:107 msgid "" "If *validate* is false, characters that are neither in the normal base-64 " "alphabet nor (if *ignorechars* is not specified) the alternative alphabet " "are discarded prior to the padding check, but the ``+`` and ``/`` characters " "keep their meaning if they are not in *altchars* (they will be discarded in " "future Python versions)." msgstr "" msgid "" "If *validate* is true, these non-alphabet characters in the input result in " "a :exc:`binascii.Error`." msgstr "" "*validate* が真の場合、入力にこれらのアルファベット外の文字がある" "と :exc:`binascii.Error` が発生します。" msgid "" "If *canonical* is true, non-zero padding bits are rejected. " "See :func:`binascii.a2b_base64` for details." msgstr "" "*canonical* が真の場合、ゼロでないパディングビットを拒否します。\n" "詳しくは :func:`binascii.a2b_base64` を参照してください。" #: ../../library/base64.rst:120 msgid "" "For more information about the strict base64 check, " "see :func:`binascii.a2b_base64`" msgstr "" "厳密な base64 チェックのについての詳細は :func:`binascii.a2b_base64` を参照し" "てください" msgid "Added the *canonical*, *ignorechars*, and *padded* parameters." msgstr "*canonical*、*ignorechars*、*padded* パラメーターが追加されました。" msgid "" "Accepting the ``+`` and ``/`` characters with an alternative alphabet is now " "deprecated." msgstr "" "代替アルファベットの使用時に ``+`` と ``/`` を受け入れることは非推奨になりま" "した。" #: ../../library/base64.rst:132 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:138 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` を返します。" 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 ``=`` if *padded* is true (default)." msgstr "" ":term:`bytes-like object` *s* を、URL やファイルシステムで安全に使えるアル" "ファベットでエンコードし、エンコードされた :class:`bytes` を返します。\n" "このアルファベットは、標準の Base64 アルファベットの ``+`` を ``-`` に、``/" "`` を ``_`` に置き換えたものです。\n" "*padded* が真 (デフォルト) の場合、結果には ``=`` が含まれることがあります。" msgid "Added the *padded* parameter." msgstr "*padded* パラメーターが追加されました。" #: ../../library/base64.rst:156 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 アルファベットに比べて、``+`` の替わりに ``-`` を、``/" "`` の替わりに ``_`` を置換します。" msgid "" "Added the *padded* parameter. Padding of input is no longer required by " "default." msgstr "" "*padded* パラメーターが追加されました。\n" "デフォルトでは入力のパディングが不要になりました。" msgid "Accepting the ``+`` and ``/`` characters is now deprecated." msgstr "``+`` と ``/`` を受け入れることは非推奨になりました。" #: ../../library/base64.rst:172 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` を返します。" msgid "" "If *padded* is true (default), pad the encoded data with the '=' character " "to a size multiple of 8. If *padded* is false, do not add the pad characters." msgstr "" "*padded* が真 (デフォルト) の場合、エンコードしたデータの長さが 8 の倍数にな" "るように '=' でパディングします。\n" "*padded* が偽の場合、パディング文字を追加しません。" msgid "" "If *wrapcol* is non-zero, insert a newline (``b'\\n'``) character after at " "most every *wrapcol* characters. If *wrapcol* is zero (default), do not add " "any newlines." msgstr "" "*wrapcol* がゼロでない場合、最大 *wrapcol* 文字ごとに改行文字 (``b'\\n'``) を" "挿入します。\n" "*wrapcol* がゼロ (デフォルト) の場合、改行を追加しません。" #: ../../library/base64.rst:189 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:192 ../../library/base64.rst:269 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:196 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 は入力として許可されていません。" msgid "" "If *padded* is true, the last group of 8 base 32 alphabet characters must be " "padded with the '=' character. If *padded* is false, padding is neither " "required nor recognized: the '=' character is not treated as padding but as " "a non-alphabet character, which means it raises an :exc:`~binascii.Error` " "unless b'=' is included in *ignorechars*." msgstr "" "*padded* が真の場合、Base32 アルファベットの最後の 8 文字の組には '=' による" "パディングが必要です。\n" "*padded* が偽の場合、パディングは不要で、パディングとしての認識もしません。\n" "'=' はパディングではなくアルファベット外の文字として扱われるため、" "*ignorechars* に ``b'='`` が含まれていない限り :exc:`~binascii.Error` が発生" "します。" msgid "" "*ignorechars* should be a :term:`bytes-like object` containing characters to " "ignore from the input." msgstr "" "*ignorechars* には、入力から無視する文字を含む :term:`bytes-like object` を指" "定してください。" msgid "" "If *canonical* is true, non-zero padding bits are rejected. " "See :func:`binascii.a2b_base32` for details." msgstr "" "*canonical* が真の場合、ゼロでないパディングビットを拒否します。\n" "詳しくは :func:`binascii.a2b_base32` を参照してください。" #: ../../library/base64.rst:216 ../../library/base64.rst:276 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:226 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:237 msgid "" "Similar to :func:`b32decode` but uses the Extended Hex Alphabet, as defined " "in :rfc:`4648`." msgstr "" ":func:`b32decode` に似ていますが、 :rfc:`4648` で定義されているように" "Extended Hex Alphabetを使用します。" 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 "" "この方式では、数字の 0 (ゼロ) を文字の O (オー) に、数字の 1 (いち) を文字の " "I (アイ) または L (エル) に対応付けることはできません。\n" "これらはすべて Extended Hex Alphabet に含まれる別々の文字で、置き換えられない" "ためです。" #: ../../library/base64.rst:253 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` を返します。" msgid "Added the *wrapcol* parameter." msgstr "*wrapcol* パラメーターが追加されました。" #: ../../library/base64.rst:266 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` を返します。" msgid "Added the *ignorechars* parameter." msgstr "*ignorechars* パラメーターが追加されました。" #: ../../library/base64.rst:287 msgid "Base85 Encodings" msgstr "Base85 エンコーディング" msgid "" "Base85 encoding is a family of algorithms which represent four bytes using " "five ASCII characters. Originally implemented in the Unix ``btoa(1)`` " "utility, a version of it was later adopted by Adobe in the PostScript " "language and is standardized in PDF 2.0 (ISO 32000-2). This version, in both " "its ``btoa`` and PDF variants, is implemented by :func:`a85encode`." msgstr "" "Base85 エンコーディングは、4 バイトを 5 つの ASCII 文字で表すアルゴリズム群で" "す。\n" "もともとは Unix の ``btoa(1)`` ユーティリティに実装され、その後 Adobe がその" "一種を PostScript 言語に採用し、PDF 2.0 (ISO 32000-2) で標準化されました。\n" "この方式の ``btoa`` 版と PDF 版は、どちらも :func:`a85encode` に実装されてい" "ます。" msgid "" "A separate version, using a different output character set, was defined as " "an April Fool's joke in :rfc:`1924` but is now used by Git and other " "software. This version is implemented by :func:`b85encode`." msgstr "" "出力に異なる文字集合を使う別の方式は、エイプリルフールのジョークとし" "て :rfc:`1924` で定義されましたが、現在は Git などのソフトウェアで使われてい" "ます。\n" "この方式は :func:`b85encode` に実装されています。" msgid "" "Finally, a third version, using yet another output character set designed " "for safe inclusion in programming language strings, is defined by ZeroMQ and " "implemented here by :func:`z85encode`." msgstr "" "さらに、プログラミング言語の文字列に安全に含められるよう設計された、別の出力" "文字集合を使う 3 番目の方式を ZeroMQ が定義しています。\n" "この方式は :func:`z85encode` に実装されています。" msgid "" "The functions present in this module differ in how they handle the following:" msgstr "このモジュールの各関数は、次の点の扱いが異なります。" msgid "Whether to include and expect enclosing ``<~`` and ``~>`` markers." msgstr "囲みのマーカー ``<~`` と ``~>`` を出力に含めるか、入力に期待するか。" msgid "Whether to fold the input into multiple lines." msgstr "入力を複数の行に折り返すか。" msgid "The set of ASCII characters used for encoding." msgstr "エンコードに使う ASCII 文字の集合。" msgid "Compact encodings of sequences of spaces and null bytes." msgstr "連続するスペースやヌルバイトの短縮表現。" msgid "The encoding of zero-padding bytes applied to the input." msgstr "入力に加えたゼロパディングのバイトをどうエンコードするか。" msgid "" "Refer to the documentation of the individual functions for more information." msgstr "詳しくは、各関数のドキュメントを参照してください。" 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` を返します。" 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 encoding used in PDF." msgstr "" "*foldspaces* は省略可能なフラグです。\n" "'btoa' と同様に、連続する 4 つのスペース (ASCII 0x20) の代わりに特別な短縮表" "現 'y' を使います。\n" "PDF で使われる標準のエンコーディングは、この機能をサポートしていません。" #: ../../library/base64.rst:327 msgid "" "*pad* controls whether zero-padding applied to the end of the input is fully " "retained in the output encoding, as done by ``btoa``, producing an exact " "multiple of 5 bytes of output. This is not part of the standard encoding " "used in PDF, as it does not preserve the length of the data." msgstr "" msgid "" "*adobe* controls whether the encoded byte sequence is framed with ``<~`` and " "``~>``, as in a PostScript base-85 string literal. Note that while " "ASCII85Decode streams in PDF documents *must* be terminated with ``~>``, " "they *must not* use a leading ``<~``." msgstr "" "*adobe* は、PostScript の Base85 文字列リテラルのように、エンコードしたバイト" "列を ``<~`` と ``~>`` で囲むかどうかを制御します。\n" "PDF 文書の ASCII85Decode ストリームは ``~>`` で終わる *必要があります* が、先" "頭に ``<~`` を付けては *いけません*。" 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` を返します。" 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 used in PDF and PostScript." msgstr "" "*foldspaces* は、短縮表現 'y' を連続する 4 つのスペース (ASCII 0x20) として受" "け入れるかどうかを指定するフラグです。\n" "PDF や PostScript で使われる標準の Ascii85 エンコーディングは、この機能をサ" "ポートしていません。" msgid "" "*adobe* controls whether the ``<~`` and ``~>`` markers are present. While " "the leading ``<~`` is not required, the input must end with ``~>``, or " "a :exc:`ValueError` is raised." msgstr "" "*adobe* は、マーカー ``<~`` と ``~>`` の有無を指定します。\n" "先頭の ``<~`` は必須ではありませんが、入力は ``~>`` で終わる必要があり、そう" "でなければ :exc:`ValueError` を送出します。" #: ../../library/base64.rst:355 msgid "" "*ignorechars* should be a :term:`bytes-like object` containing characters to " "ignore from the input. This should only contain whitespace characters, and " "by default contains all whitespace characters in ASCII." msgstr "" msgid "" "If *canonical* is true, non-canonical encodings are rejected. " "See :func:`binascii.a2b_ascii85` for details." msgstr "" "*canonical* が真の場合、正規形でないエンコーディングを拒否します。\n" "詳しくは :func:`binascii.a2b_ascii85` を参照してください。" msgid "" "Added the *canonical* parameter. Single-character final groups are now " "always rejected as encoding violations." msgstr "" "*canonical* パラメーターが追加されました。\n" "最後のグループが 1 文字だけの場合は、エンコーディングの規則に違反するものとし" "て常に拒否するようになりました。" #: ../../library/base64.rst:373 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` を返します。" msgid "" "The input is padded with ``b'\\0'`` so its length is a multiple of 4 bytes " "before encoding. If *pad* is true, all the resulting characters are " "retained in the output, which will always be a multiple of 5 bytes, and thus " "the length of the data may not be preserved on decoding." msgstr "" "エンコードの前に、入力の長さが 4 バイトの倍数になるよう ``b'\\0'`` でパディン" "グします。\n" "*pad* が真の場合、結果の文字はすべて出力に残るため、出力の長さは常に 5 バイト" "の倍数になります。\n" "そのため、デコード時にデータの長さが保たれない場合があります。" msgid "" "Decode the base85-encoded :term:`bytes-like object` or ASCII string *b* and " "return the decoded :class:`bytes`." msgstr "" "Base85 でエンコードされた :term:`bytes-like object` または ASCII 文字列 *b* " "をデコードし、デコードされた :class:`bytes` を返します。" msgid "" "If *canonical* is true, non-canonical encodings are rejected. " "See :func:`binascii.a2b_base85` for details." msgstr "" "*canonical* が真の場合、正規形でないエンコーディングを拒否します。\n" "詳しくは :func:`binascii.a2b_base85` を参照してください。" msgid "" "Added the *canonical* and *ignorechars* parameters. Single-character final " "groups are now always rejected as encoding violations." msgstr "" "*canonical* と *ignorechars* パラメーターが追加されました。\n" "最後のグループが 1 文字だけの場合は、エンコーディングの規則に違反するものとし" "て常に拒否するようになりました。" msgid "" "Encode the :term:`bytes-like object` *s* using Z85 (as used in ZeroMQ) and " "return the encoded :class:`bytes`." msgstr "" ":term:`bytes-like object` *s* を、ZeroMQ で使われる Z85 でエンコードし、エン" "コードされた :class:`bytes` を返します。" msgid "" "The input is padded with ``b'\\0'`` so its length is a multiple of 4 bytes " "before encoding. If *pad* is true, all the resulting characters are " "retained in the output, which will always be a multiple of 5 bytes, as " "required by the ZeroMQ standard." msgstr "" "エンコードの前に、入力の長さが 4 バイトの倍数になるよう ``b'\\0'`` でパディン" "グします。\n" "*pad* が真の場合、結果の文字はすべて出力に残るため、ZeroMQ の標準で要求される" "とおり、出力の長さは常に 5 バイトの倍数になります。" msgid "The *pad* parameter was added." msgstr "*pad* パラメーターが追加されました。" msgid "" "Decode the Z85-encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`." msgstr "" "Z85 でエンコードされた :term:`bytes-like object` または ASCII 文字列 *s* をデ" "コードし、デコードされた :class:`bytes` を返します。" #: ../../library/base64.rst:456 msgid "Legacy Interface" msgstr "レガシーインターフェース" #: ../../library/base64.rst:460 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:468 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:476 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:486 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:494 msgid "An example usage of the module:" msgstr "モジュールの使用例:" #: ../../library/base64.rst:507 msgid "Security Considerations" msgstr "セキュリティで考慮すべき点" 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 "" ":rfc:`4648` に、セキュリティ上の考慮事項をまとめた節 (第 12 節) が新たに追加" "されました。\n" "本番環境で使うコードでは、このセキュリティの節を確認することを推奨します。" #: ../../library/base64.rst:514 msgid "Module :mod:`binascii`" msgstr "モジュール :mod:`binascii`" #: ../../library/base64.rst:515 msgid "" "Support module containing ASCII-to-binary and binary-to-ASCII conversions." msgstr "" "ASCII からバイナリへ、バイナリから ASCII への変換をサポートするモジュール。" #: ../../library/base64.rst:517 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:518 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." msgid "" "`ISO 32000-2 Portable document format - Part 2: PDF 2.0 <https://pdfa.org/" "resource/iso-32000-2/>`_" msgstr "" "`ISO 32000-2 Portable document format - Part 2: PDF 2.0 <https://pdfa.org/" "resource/iso-32000-2/>`_" msgid "" "Section 7.4.3, \"ASCII85Decode Filter,\" provides the definition of the " "Ascii85 encoding used in PDF and PostScript, including the output character " "set and the details of data length preservation using zero-padding and " "partial output groups." msgstr "" "第 7.4.3 節 \"ASCII85Decode Filter\" は、PDF と PostScript で使われる " "Ascii85 エンコーディングを定義しています。\n" "出力の文字集合のほか、ゼロパディングと部分的な出力グループによってデータ長を" "保持する方法が詳しく説明されています。" msgid "`ZeroMQ RFC 32/Z85 <https://rfc.zeromq.org/spec/32/>`_" msgstr "`ZeroMQ RFC 32/Z85 <https://rfc.zeromq.org/spec/32/>`_" msgid "" "The \"Formal Specification\" section provides the character set used in Z85." msgstr "" "\"Formal Specification\" の節は、Z85 で使われる文字集合を定義しています。" #: ../../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. |