using (ByteArray stream = new ByteArray())
{
string str1 = "";
string str2 = "";
Byte num = 0;
stream.WriteString("123")
.WriteString("456")
.WriteUInt8(1)
.Seek(0, System.IO.SeekOrigin.Begin)
.ReadString((x) => str1 = x)
.ReadString((x) => str2 = x)
.ReadUInt8((x) => num = x);
Debug.WriteLine("{0} {1} {2}", str1, str2, num);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
eighteen-k-gold-malow/ByteArrayIO
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ByteArray from node.js Buffer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published