Perhaps this could be reduce by only computing the checksum and returning the relevant sub-buffer, rather than doing a full gloss decode operation.
Perhaps this could be reduce by only computing the checksum and returning the relevant sub-buffer, rather than doing a full gloss decode operation.