public char Convert(TLink source) { if (!_unicodeSymbolCriterionMatcher.IsMatched(source)) { throw new ArgumentOutOfRangeException(nameof(source), source, "Specified link is not a unicode symbol."); } return(_addressToCharConverter.Convert(_numberToAddressConverter.Convert(_links.GetSource(source)))); }
protected virtual ref RawLink <TLink> GetLinkReference(TLink link) => ref AsRef <RawLink <TLink> >(Links + (RawLink <TLink> .SizeInBytes * _addressToInt64Converter.Convert(link)));
public TLink Convert(TLink source) => _converter.Convert(new Hybrid <TLink>(source).AbsoluteValue);
public static ulong ConverterWrapperWithNoInlining(ulong value) => _uInt64ToUInt64Converter.Convert(value);
public TLink Convert(char source) { var unaryNumber = _addressToNumberConverter.Convert(_charToAddressConverter.Convert(source)); return(_links.GetOrCreate(unaryNumber, _unicodeSymbolMarker)); }
public ulong ConvertObjectToUInt64() => _objectToUInt64Converter.Convert(2);
public static ulong ConverterWrapperWithNoInlining(int value) => _int32ToUInt64converter.Convert(value);