public virtual void TestChar() { char c = '\u00E1'; byte[] b2 = byteArrayConverter.CharToByteArray(c); char c1 = byteArrayConverter.ByteArrayToChar(b2); AssertEquals(c, c1); }
public virtual char ReadChar(string label) { long position = io.GetCurrentPosition(); char c = byteArrayConverter.ByteArrayToChar(ReadCharBytes()); if (NeoDatis.Odb.OdbConfiguration.IsDebugEnabled(LogId) && canLog && label != null) { NeoDatis.Tool.DLogger.Debug("reading char " + c + " at " + position + " : " + label ); } return(c); }