internal void WriteDefinition(StreamWriter writer) { if (Index == 0) { return; } writer.Write($"{Index} 0 obj\n"); WriterHelper.WriteObject(writer, Target); writer.Write("endobj\n"); }
void IWritable.Write(StreamWriter writer) { writer.Write("<<\n"); foreach (var entry in _dict) { writer.Write($"/{entry.Key} "); WriterHelper.WriteObject(writer, entry.Value); writer.Write("\n"); } writer.Write(">>\n"); }