Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Gets the required minimum output buffer size, in bytes, for the operation.
Signature
public int getOutputBufferSize(
int startingBlockNumber,
ByteBuffer inputBuffer,
boolean isEncrypt,
boolean isFinal)
throws ProtectionException
Parameters
| Name | Datatype | Notes |
|---|---|---|
| startingBlockNumber |
int |
The first block |
| inputBuffer |
ByteBuffer |
Encrypted data [position, limit] |
| isEncrypt |
boolean |
Set to true if the buffer is going to be used for encryption. Set to false if the buffer is going to be used for decryption. |
| isFinal |
boolean |
Set to true for processing the final chunk of data. |
Returns
An int, indicating the output buffer size in bytes.
Defined in
ProtectedBuffer.java
Supported Platforms
| Minimum supported OS version |
Android 4.0.3 (API level 15) |