slice


Description:

[ CCode ( cname = "_vala_g_bytes_slice" ) ]
public Bytes slice (size_t start, size_t end)

Extracts bytes from GLib.Bytes and returns it.

Parameters:

start

the zero-based index at which to begin extraction.

end

the zero-based index at which to end extraction.

Returns:

a newly-allocated GLib.Bytes.