Write string to memoryview in python

后端 未结 0 1979
长发绾君心
长发绾君心 2021-01-23 06:25

I want to write a bytearray type into a memoryview type. What I tried:

my_memory_view = memoryview(b\'hello\')

new_byte_st         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题