public FunctionCode GetFunction() { if (buffer == null) { return(FunctionCode.UNKNOWN); } var field = new FunctionCodeField(); return(field.FunctionCodeFromType(buffer_bytes[1])); }
public void SetFunction(FunctionCode code) { if (buffer == null) { return; } var field = new FunctionCodeField(); buffer_bytes[1] = field.FunctionCodeToType(code); }