Exemplo n.º 1
0
 public FixedLengthElementArrayReflector(Type classThatHasThisField, String fieldName, Byte arraySizeByteCount,
                                         FixedLengthInstanceSerializer <ElementType> elementSerializer)
     : base(classThatHasThisField, fieldName, typeof(ElementType[]))
 {
     this.arraySizeByteCount = arraySizeByteCount;
     this.elementSerializer  = elementSerializer;
     this.fixedElementSerializationLength = elementSerializer.FixedSerializationLength();
 }
Exemplo n.º 2
0
 public UInt32 FixedSerializationLength()
 {
     return(serializer.FixedSerializationLength());
 }