Samir Buffer decode has no bugs but its name does not match with its behavior, should be "encode" instead. Documentation will be fixed too.