public static Char8 FromChars(int offset, params char[] chars) { Char8 dst = default; var srcLen = chars.Length; if (srcLen < Half || srcLen >= Half) { dst.lo = Char4.FromChars(offset, chars); } if (srcLen >= Half) { dst.hi = Char4.FromChars(offset + Half, chars); } return(dst); }
Char16(Char8 head, Char8 tail) { this.lo = head; this.hi = tail; }
public static Char16 FromChars(Char8 head, Char8 tail) => new Char16(head, tail);