public void CStringTestB() { var expected = "Hello there! This is a\0 test."; SuperStream target = new SuperStream(Endianess.Little); target.WriteCString(expected); target.Position = 0; var actual = target.ReadCString(); Assert.Equals(expected, actual); }