示例#1
0
文件: QvxData.cs 项目: TonyWu/QvxLib
        internal QvxWriter(QvxWriteCode qvxWriteCode, BinaryWriter bw)
        {
            if (bw == null | qvxWriteCode == null)
                throw new ArgumentNullException();

            this.qvxWriteCode = qvxWriteCode;
            this.bw = bw;

            bw.BaseStream.Seek(0, SeekOrigin.Begin);
            qvxWriteCode.WriteHeader(bw);
        }
示例#2
0
文件: QvxData.cs 项目: TonyWu/QvxLib
 public QvxSerializer(Type type, Dictionary<string, List<QvxBaseAttribute>> overrideAttributes)
 {
     qvxWriteCode = new QvxWriteCode(type, overrideAttributes);
 }