Use proper memoryview for data bufferfmt.