private static void WriteValue(ActiveRawDataSmallSection section, long id, string value) { var bytes = Encoding.UTF8.GetBytes(value); fixed(byte *p = bytes) { Assert.True(section.TryWrite(id, p, bytes.Length)); } }
private static void WriteValue(ActiveRawDataSmallSection section, long id, string value) { var bytes = Encoding.UTF8.GetBytes(value); fixed(byte *p = bytes) { Assert.True(section.TryWrite(id, p, bytes.Length)); } }