Closed campersau closed 2 years ago
Question: do you still see the need for the SapBufferLengthAttribute
after this change? I understand that it procudes one call less to RFC, but I wonder if people would bother to pass a size if it works without attribute too?
The SapBufferLengthAttribute
is still used for CharField
but I think we can change that to GetXString
too since it also supports chars. Not sure about its encoding though...
But after that the SapBufferLengthAttribute
isn't needed. Only if you care about one less RFC call. (I don't 😄 )
RfcGetXString
can be used to read variable length bytes similar toRfcGetString
.According to the docs
RfcGetXString
supports these types:Which are exactly the same as in
RfcGetBytes
: