search

Home  >  Q&A  >  body text

Does python have a class similar to java Bytebuffer that operates buffers?

Does python have a class with functions similar to Java ByteBuffer? ByteBuffer in Java is a class that stores a buffer. It has several attributes: mark, position, capacity, and limit. Mark marks a certain position in the buffer when it is read. Position is the current reading position. Capacity is the buffer's capacity. Length, limit is the upper limit of reading and writing. Does python have a class with such function?

PHP中文网PHP中文网2767 days ago980

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-12 09:22:29

    memoryview

    reply
    0
  • Cancelreply