[ Version ( since = "0.9.2" ) ]
public Blob create_sub_blob (uint offset, uint length)
Returns a blob that represents a range of bytes in parent.
The new blob is always created with READONLY, meaning that it will never modify data in the parent blob. The parent data is not expected to be modified, and will result in undefined behavior if it is.
Makes parent immutable.
| offset |
Start offset of sub-blob within |
| length |
Length of sub-blob. |
| parent |
Parent blob. |
|
New blob, or the empty blob if something failed or if |