Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document BytesIO buffer size #133521

Open
Open
Labels
docsDocumentation in the Doc dirtopic-IO
@jxu

Description

@jxu

https://stackoverflow.com/questions/26827055/python-how-to-get-bytesio-allocated-memory-length

The length of the data stored in a BytesIO object can be accessed in several ways. The best way seems to begetbuffer().nbytes. But it's not documented here
https://docs.python.org/3/library/io.html#io.BytesIO

Only here, the gigantic built-in types pagehttps://docs.python.org/3/library/stdtypes.html#memoryview.nbytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtopic-IO

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp