Skip to content

Commit 7d7acc3

Browse files
committed
Add method Write(char[])
1 parent 6c1250f commit 7d7acc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Vban/Model/Abstract/IOStream.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ public void Write(byte[] buffer)
7171
foreach (byte b in buffer) WriteByte(b);
7272
}
7373

74+
public void Write(char[] buffer)
75+
{
76+
foreach (char c in buffer) WriteByte((byte) c);
77+
}
78+
7479
public override long Seek(long offset, SeekOrigin origin)
7580
{
7681
throw new NotImplementedException();

0 commit comments

Comments
 (0)