public void ReadNullTerminatedUnicodeString_Sync() { using (var f = new GenericFile()) { f.CreateFile(new byte[] { 0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x00, 0x00 }); Assert.AreEqual("test", f.ReadNullTerminatedUnicodeString(0)); } }