Ignore offset parameter in encode callback. It is ignored/deprecated by the caller...