implement store with const void* buffer, was unimplemented