Ejemplo n.º 1
0
 internal void WriteDeclaraion(FIWriter.FInfoDecl decl)
 {
     // append declaration
     if (decl != FIWriter.FInfoDecl.FInfoDecl_NONE)
     {
         // already converted to UTF-8
         _output.Write(FIConsts.FI_DECLARATION_LIST[(int)decl - 1], 0, FIConsts.FI_DECLARATION_LIST[(int)decl - 1].Length);
     }
 }
Ejemplo n.º 2
0
 internal void WriteStartDocument(FIWriter.FInfoDecl decl)
 {
     _encoder.WriteDeclaraion(decl);
     WriteStartDocument();
 }