Hacker News new | ask | show | jobs
by Too 732 days ago
There is a built in memoryview. But it only works on bytes or other objects supporting the buffer protocol, not on strings.