Opera fix

Opera throws RangeError: Offset larger than array size if trying to create Uint8Array view with zero length.