Results of 1 - 10 of about 18 for byteorder (0.013 sec.)
- Unicode オブジェクトと codec — Python 3.14.8 ドキュメント 11736
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Unicode オブジェクトと codec テーマ 自動 ライト ダーク | Unicode オブジェクトと codec
...UTF-32 codec API です: PyObject * PyUnicode_DecodeUTF32 ( const char * str , Py_ssize_t size , const char * errors , int * byteorder ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . UTF-32 でエンコードされたバッファ文字列から size バイトをデコードし、...Unicodeオブジェクトとして返します。 errors は ( NULL でないなら) エラーハンドラを指定します。デフォルトは "strict" です。 byteorder が NULL でない時、デコーダは与えられたバイトオーダーでデコードを開始します。 * byteorder == -1 : little endian * byteorder...== 0 : native order * byteorder == 1 : big endian *byteorder が 0 で、入力データの最初の 4 バイトが byte order mark (BOM) ならば、デコーダはこのバイトオー... - https://man.mtool.work/python/3.14/c-api/unicode.html
- Unicode オブジェクトと codec — Python 3.14.8 ドキュメント 11736
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Unicode オブジェクトと codec テーマ 自動 ライト ダーク | Unicode オブジェクトと codec
...UTF-32 codec API です: PyObject * PyUnicode_DecodeUTF32 ( const char * str , Py_ssize_t size , const char * errors , int * byteorder ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . UTF-32 でエンコードされたバッファ文字列から size バイトをデコードし、...Unicodeオブジェクトとして返します。 errors は ( NULL でないなら) エラーハンドラを指定します。デフォルトは "strict" です。 byteorder が NULL でない時、デコーダは与えられたバイトオーダーでデコードを開始します。 * byteorder == -1 : little endian * byteorder...== 0 : native order * byteorder == 1 : big endian *byteorder が 0 で、入力データの最初の 4 バイトが byte order mark (BOM) ならば、デコーダはこのバイトオー... - https://man.mtool.work/python/3.14/c-api/unicode.html
- 組み込み型 — Python 3.14.8 ドキュメント 11478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...と等価です: def bit_count ( self ): return bin ( self ) . count ( "1" ) Added in version 3.10. int. to_bytes ( length = 1 , byteorder = 'big' , * , signed = False ) ¶ 整数を表すバイト列を返します。 >>> ( 1024 ) . to_bytes ( 2 , byteorder = 'big' ) b'\x04\x...00' >>> ( 1024 ) . to_bytes ( 10 , byteorder = 'big' ) b'\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00' >>> ( - 1024 ) . to_bytes ( 10 , byteorder = 'big' , signed = True )...b'\xff\xff\xff\xff\xff\xff\xff\xff\xfc\x00' >>> x = 1000 >>> x . to_bytes (( x . bit_length () + 7 ) // 8 , byteorder = 'little' ) b'\xe8\x03' 整数は length バイトで表されます、デフォルト値は 1 です。整数が与えられた数のバイトで表せなければ... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- 組み込み型 — Python 3.14.8 ドキュメント 10723
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...と等価です: def bit_count ( self ): return bin ( self ) . count ( "1" ) Added in version 3.10. int. to_bytes ( length = 1 , byteorder = 'big' , * , signed = False ) ¶ 整数を表すバイト列を返します。 >>> ( 1024 ) . to_bytes ( 2 , byteorder = 'big' ) b'\x04\x...00' >>> ( 1024 ) . to_bytes ( 10 , byteorder = 'big' ) b'\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00' >>> ( - 1024 ) . to_bytes ( 10 , byteorder = 'big' , signed = True )...b'\xff\xff\xff\xff\xff\xff\xff\xff\xfc\x00' >>> x = 1000 >>> x . to_bytes (( x . bit_length () + 7 ) // 8 , byteorder = 'little' ) b'\xe8\x03' 整数は length バイトで表されます、デフォルト値は 1 です。整数が与えられた数のバイトで表せなければ... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- timer file descriptor HOWTO — Python 3.14.8 ドキュメント 9831
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th
...close () conn = None elif fd in fds : print ( f "Reading timer { fd } " ) count = int . from_bytes ( os . read ( fd , 8 ), byteorder = sys . byteorder ) print ( f "Timer { fds . index ( fd ) + 1 } expired { count } times" ) else : print ( f "Unknown file...close () conn = None elif fd in fds : print ( f "Reading timer { fd } " ) count = int . from_bytes ( os . read ( fd , 8 ), byteorder = sys . byteorder ) print ( f "Timer { fds . index ( fd ) + 1 } expired { count } times" ) else : print ( f "Unknown file... - https://man.mtool.work/python/3.14/howto/timerfd.html
- timer file descriptor HOWTO — Python 3.14.8 ドキュメント 9831
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th
...close () conn = None elif fd in fds : print ( f "Reading timer { fd } " ) count = int . from_bytes ( os . read ( fd , 8 ), byteorder = sys . byteorder ) print ( f "Timer { fds . index ( fd ) + 1 } expired { count } times" ) else : print ( f "Unknown file...close () conn = None elif fd in fds : print ( f "Reading timer { fd } " ) count = int . from_bytes ( os . read ( fd , 8 ), byteorder = sys . byteorder ) print ( f "Timer { fds . index ( fd ) + 1 } expired { count } times" ) else : print ( f "Unknown file... - https://man.mtool.work/python/3.14/howto/timerfd.html
- 索引 — Python 3.14.8 ドキュメント 7669
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – B b" バイト列リテラル b' バイト列リテラル b16decode() (base64 モジュール) b16encode() (base64 モジュール) b2a_base64() (binascii モジュ
...is モジュール) BYTECODE_SUFFIXES (importlib.machinery モジュール) BytecodeTestCase (test.support.bytecode_helper のクラス) byteorder (sys モジュール) bytes object , [1] , [2] str (組み込みクラス) メソッド 書式化 組み込み関数 , [1] 補間 bytes (uuid.UUID の... - https://man.mtool.work/python/3.14/genindex-B.html
- 索引 — Python 3.14.8 ドキュメント 7669
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – B b" バイト列リテラル b' バイト列リテラル b16decode() (base64 モジュール) b16encode() (base64 モジュール) b2a_base64() (binascii モジュ
...is モジュール) BYTECODE_SUFFIXES (importlib.machinery モジュール) BytecodeTestCase (test.support.bytecode_helper のクラス) byteorder (sys モジュール) bytes object , [1] , [2] str (組み込みクラス) メソッド 書式化 組み込み関数 , [1] 補間 bytes (uuid.UUID の... - https://man.mtool.work/python/3.14/genindex-B.html
- struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.14.8 ... 7549
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » struct --- バイト列をパックされたバイナリデータとして解釈する テーマ 自動 ライト ダーク | struct --- バイト列を
...when unpacking. In contrast, when communicating data between external sources, the programmer is responsible for defining byte ordering and padding between elements. See バイトオーダ、サイズ、アラインメント for details. Several struct functions (and meth...from format characters , which specify the type of data being packed/unpacked. In addition, special characters control the byte order, size and alignment . Each format string consists of an optional prefix character which describes the overall properties...and padding. バイトオーダ、サイズ、アラインメント ¶ By default, C types are represented in the machine's native format and byte order, and properly aligned by skipping pad bytes if necessary (according to the rules used by the C compiler). This behavior i... - https://man.mtool.work/python/3.14/library/struct.html
- struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.14.8 ... 7549
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » struct --- バイト列をパックされたバイナリデータとして解釈する テーマ 自動 ライト ダーク | struct --- バイト列を
...when unpacking. In contrast, when communicating data between external sources, the programmer is responsible for defining byte ordering and padding between elements. See バイトオーダ、サイズ、アラインメント for details. Several struct functions (and meth...from format characters , which specify the type of data being packed/unpacked. In addition, special characters control the byte order, size and alignment . Each format string consists of an optional prefix character which describes the overall properties...and padding. バイトオーダ、サイズ、アラインメント ¶ By default, C types are represented in the machine's native format and byte order, and properly aligned by skipping pad bytes if necessary (according to the rules used by the C compiler). This behavior i... - https://man.mtool.work/python/3.14/library/struct.html