コード例 #1
0
        protected internal override IEnumerable <DxfCodePair> GetSpecificPairs(DxfAcadVersion version, bool outputHandles, HashSet <IDxfItem> writtenItems)
        {
            yield return(new DxfCodePair(90, RawData.Length));

            // write lines in 128-byte chunks (expands to 256 hex bytes)
            foreach (var chunk in BinaryHelpers.ChunkBytes(RawData))
            {
                yield return(new DxfCodePair(310, chunk));
            }
        }