Initial commit
Initial commit til Git. V2 er deployed
This commit is contained in:
15
PointOfSale/Utilities/ESCPOS_NET/ByteSplicer.cs
Normal file
15
PointOfSale/Utilities/ESCPOS_NET/ByteSplicer.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace ESCPOS_NET.Utilities
|
||||
{
|
||||
public static class ByteSplicer
|
||||
{
|
||||
public static byte[] Combine(params byte[][] byteArrays)
|
||||
{
|
||||
ByteArrayBuilder builder = new ByteArrayBuilder();
|
||||
foreach (var byteArray in byteArrays)
|
||||
{
|
||||
builder.Append(byteArray);
|
||||
}
|
||||
return builder.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user