public override Decimal DeserializeImpl(TSource source, SerializationContext context) { long restore = context.LimitByLengthPrefix(); Decimal value = ProtoDecimal.DeserializeDecimal(context); context.MaxReadPosition = restore; return(value); }
public override Decimal DeserializeImpl(TSource source, SerializationContext context) { context.StartGroup(Tag); // will be ended internally return(ProtoDecimal.DeserializeDecimal(context)); }