Beispiel #1
0
        private void WriteContent(ByteArrayWriter writer, int length)
        {
            writer.ValidateCapacity(length);

            writer.Write(documentHeader);

            if (tuples.Count > 0)
            {
                for (int i = 0; i < tuples.Count; i++)
                {
                    writer.Write(tuples[i].Data);
                }
            }
            else
            {
                writer.Write(defaultTuple0);
                writer.Write(aor);
                writer.Write(defaultTuple1);
            }

            writer.Write(documentFooter);
        }