SERVER-121635 Discourage use of ByteArrayDeprecated (#50638)
GitOrigin-RevId: 2c8e3307a71a49a3695e21cc5d91e515447089da
This commit is contained in:
parent
8098b2fbf1
commit
62d4aa1239
@ -663,7 +663,10 @@ public:
|
||||
return value() + 5;
|
||||
}
|
||||
/**
|
||||
* Get binary data. Element must be of type BinData. Handles type 2
|
||||
* Get binary data. Element must be of type BinData.
|
||||
*
|
||||
* Handles ByteArrayDeprecated (subtype 2) for legacy support. New callers should never
|
||||
* use this subtype.
|
||||
*/
|
||||
const char* binDataClean(int& len) const {
|
||||
// BinData: <int len> <byte subtype> <byte[len] data>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user