get_bytes


Description:

[ Version ( since = "2.34" ) ]
public Bytes get_bytes ()

Creates a new Bytes which references the data mapped from this .

The mapped contents of the file must not be modified after creating this bytes object, because a Bytes should be immutable.

Parameters:

this

a MappedFile

Returns:

A newly allocated Bytes referencing data from this