added signed encode/decode wrappers