Skip to content

Commit 78028ea

Browse files
committed
Added an initializer for byte[].
1 parent 72dbf7e commit 78028ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ColorSetKit/Data.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ public Data()
5151
this.Bytes = new List< byte >();
5252
}
5353

54+
public Data( byte[] data )
55+
{
56+
this.Bytes = data.ToList();
57+
}
58+
5459
public Data( string path )
5560
{
5661
try

0 commit comments

Comments
 (0)