Decrypt selected portions of ciphertext, given as a span of bytes of the
decrypted data. Only the segments that hold it are fetched and decrypted (see
planPlaintextRange), and the output is trimmed to exactly these bytes.
As with Blob.slice(offset, offset + length), an offset equal to the size of
the decrypted data gives empty output, and a span running past the end is cut
short there. Unlike Blob.slice, negative values are rejected and an offset
past the end throws.
Decrypt selected portions of ciphertext, given as a span of bytes of the decrypted data. Only the segments that hold it are fetched and decrypted (see planPlaintextRange), and the output is trimmed to exactly these bytes.
As with
Blob.slice(offset, offset + length), an offset equal to the size of the decrypted data gives empty output, and a span running past the end is cut short there. UnlikeBlob.slice, negative values are rejected and an offset past the end throws.