pub fn version_helper(version: &[u8], output: &mut [u8]) -> usize
Available on crate feature internal-api-platform only.
Expand description

Copies the longest prefix of a full version and returns its length.

You can use this function to implement Api::version() given a full version.