Added frame header value decoding / encoding