Skip to content

Commit 0626270

Browse files
committed
Fixed Linux support
1 parent b7b0aa4 commit 0626270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Encoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public struct TLVEncoder {
2424

2525
let length = UInt8(valueData.count)
2626

27-
data += [type, length] + valueData
27+
data += Data([type, length]) + valueData
2828
}
2929

3030
return data

0 commit comments

Comments
 (0)