Skip to content

Commit c5a40df

Browse files
committed
Fixed Linux support
1 parent 0626270 commit c5a40df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Encoder.swift

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

2525
let length = UInt8(valueData.count)
2626

27-
data += Data([type, length]) + valueData
27+
data.append(Data([type, length]))
28+
data.append(valueData)
2829
}
2930

3031
return data

0 commit comments

Comments
 (0)