Outline encode/decode operations