Parse(ReadOnlySpan) Method

Definition

Assembly Broadside.dll

Reads the header at the start of a profile.

public static IccProfileHeader? Parse(ReadOnlySpan<byte> profile)

Parameters

profile
ReadOnlySpan<Byte>

The profile's bytes (at least the first 128).

Returns

IccProfileHeader
The header; null when there are fewer than 128 bytes or the acsp signature is missing.

Remarks

ICC.1:2022 §7.2.9: bytes 36 to 39 are the profile file signature acsp.