public PrimitiveList(Segment segment, int baseWordOffset, ListPointer listPointer) { TypeHelpers.AssertSize <T>(listPointer.ElementSize); this.Segment = segment; this.ListWordOffset = baseWordOffset + listPointer.WordOffset; this.Count = (int)listPointer.ElementCount; }
public Text(Segment segment, int baseWordOffset, ListPointer listPointer) { TypeHelpers.AssertSize <byte>(listPointer.ElementSize); _bytes = new FlatArray <byte>(new AbsPointer(segment, baseWordOffset, listPointer)); }