Allocation
Artifact: androidx.media3:media3-exoplayer
@UnstableApi
public final class Allocation
An allocation within a byte array.
The allocation's length is obtained by calling getIndividualAllocationLength on the Allocator from which it was obtained.
Summary
Public fields |
|
|---|---|
final byte[] |
The array containing the allocated space. |
final int |
The offset of the allocated space in |
Public constructors |
|---|
Allocation(byte[] data, int offset) |
Public fields
Public constructors
Allocation
public Allocation(byte[] data, int offset)
| Parameters | |
|---|---|
byte[] data |
The array containing the allocated space. |
int offset |
The offset of the allocated space in |