How to fix Argument labels '(bytes:, length:)' do not match any available overloads error? : I have converted an Object-C project to Swift 4 and I am getting the following error on below line:

> Argument labels '(bytes:, length:)' do not match any available
> overloads

Swift:

    let data = Data(bytes: [0x80, 0xbe, 0xf5, 0xac, 0xff], length: 5)


**Objective-C**

    NSData *data = [NSData dataWithBytes:(Byte[]){0x80,0xBE,0xF5,0xAC,0xFF} length:5];