protected internal override IEnumerable <DxfCodePair> GetSpecificPairs(DxfAcadVersion version, bool outputHandles, HashSet <IDxfItem> writtenItems) { var list = new List <DxfCodePair>(); list.Add(new DxfCodePair(90, RawData.Length)); // write lines in 128-byte chunks (expands to 256 hex bytes) var hex = DxfCommonConverters.HexBytes(RawData); var lines = DxfCommonConverters.SplitIntoLines(hex, 256); list.AddRange(lines.Select(l => new DxfCodePair(310, l))); return(list); }