find_memory
Description:
public bool find_memory (size_t offset, size_t size, out uint idx, out uint length, out size_t skip)
Finds the memory blocks that span size bytes starting from offset in this.
When this function returns true, idx will contain the index of the first memory block where the
byte for offset can be found and length contains the number of memory blocks containing the size
remaining bytes. skip contains the number of bytes to skip in the memory block at idx to get to the byte for
offset.
size can be -1 to get all the memory blocks after idx.
Parameters:
| this |
a Buffer. |
| offset |
an offset |
| size |
a size |
| idx |
pointer to index |
| length |
pointer to length |
| skip |
pointer to skip |
Returns:
|
true when |