MCPcopy Create free account
hub / github.com/apache/arrow / as_span

Method as_span

cpp/src/arrow/util/secure_string.cc:185–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183std::size_t SecureString::capacity() const { return secret_.capacity(); }
184
185std::span<uint8_t> SecureString::as_span() {
186 return {reinterpret_cast<uint8_t*>(secret_.data()), secret_.size()};
187}
188
189std::span<const uint8_t> SecureString::as_span() const {
190 return {reinterpret_cast<const uint8_t*>(secret_.data()), secret_.size()};

Callers 10

TESTFunction · 0.80
VerifySignatureMethod · 0.80
VerifySignatureMethod · 0.80
EncryptKeyLocallyFunction · 0.80
DecryptKeyLocallyFunction · 0.80
DecryptMethod · 0.80
EncryptMethod · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64